<template>
  <div>
<!--    <el-row :gutter="20">-->

<!--      <el-col :span="16">-->

          <el-table :data="tableData" border class="table" ref="multipleTable" header-cell-class-name="table-header">
            <el-table-column prop="case_source" label="案件来源" align="center"></el-table-column>
            <el-table-column prop="case_number" width="180px" label="立案编号"  align="center"></el-table-column>
            <!--            <el-table-column prop="case_update_time" label="更新时间"  align="center"></el-table-column>-->
            <el-table-column prop="case_type" label="案件性质" align="center"></el-table-column>
            <el-table-column prop="date_of_filing" label="立案日期"  align="center"></el-table-column>
            <el-table-column label="案件进度" align="center" width="200">
              <template #default="scope">
                <!--                <el-tag-->
                <!--                    :type="scope.row.tcs_note_id === '已完成' ? 'success' : scope.row.tcs_note_id === '错误' ? 'danger' : ''"-->
                <!--                >-->
                <!--                  {{ scope.row.tcs_note_id }}-->
                <!--                </el-tag>-->
                <el-button @click="clickLog(scope.row)">
                  查看任务进度
                </el-button>
              </template>
            </el-table-column>
          </el-table>

    <el-dialog v-model="Progress_Visible" title="进度条查看" width="100%" >
      <el-steps
              :active="17"
              finish-status="success"
              simple
              style="margin-top: 20px "
      >
        <!--          <el-step v-for="(item, index) in tcsNoteTable" @click.native="progress_preview" :key="index" :title="item" />-->

        <el-step title="证据采集"   :key="index" :title="item" />&nbsp;<br>
        <!--          <el-step title="证据先行保存通知书审核已完成"  @click.native="progress_preview" :key="index" :title="item" />&nbsp;<br>-->
        <el-step title="证据先行保存通知书"  @click.native="view_re_evi_save_vie" :key="index" :title="item" />&nbsp;<br>
        <el-step title="现场勘验笔录"  @click.native="check_record_table" :key="index" :title="item" />&nbsp;<br>
        <!--          <el-step title="喷码记录表填写开始"  @click.native="progress_preview" :key="index" :title="item" />&nbsp;<br>-->
        <el-step title="喷码记录表"  @click.native="inkjet_record_print" :key="index" :title="item" />&nbsp;<br>
        <!--          <el-step title="立案报告表审核已完成"  @click.native="progress_preview" :key="index" :title="item" />&nbsp;<br>-->
        <el-step title="立案报告表"  @click.native="view_report" :key="index" :title="item" />&nbsp;
        <el-step title="卷烟鉴别书"  @click.native="view_identify_report" :key="index" :title="item" />&nbsp;<br>
        <el-step title="涉案烟草价品核案表"  @click.native="price_tabel_browse" :key="index" :title="item" />&nbsp;<br>
        <el-step title="案件询问笔录"  @click.native="inquiry_record_browse" :key="index" :title="item" />&nbsp;<br>
        <!--          <el-step title="无证经营公示已完成"  @click.native="progress_preview" :key="index" :title="item" />&nbsp;-->
        <el-step title="案件调查终结文书"  @click.native="view_end_report" :key="index" :title="item" />&nbsp;<br>
        <!--          <el-step title="卷烟鉴别书已送检"  @click.native="progress_preview" :key="index" :title="item" />&nbsp;-->
        <!--          <el-step title="案件处理审批已开始"  @click.native="progress_preview" :key="index" :title="item" />&nbsp;-->
        <!--          <el-step title="集体讨论已开始"  @click.native="progress_preview" :key="index" :title="item" />&nbsp;-->
        <el-step title="案件集体讨论"  @click.native="collective_discuss_browse" :key="index" :title="item" />&nbsp;
        <!--          <el-step title="听证已开始"  @click.native="progress_preview" :key="index" :title="item" />&nbsp;-->
        <!--          <el-step title="听证告知书已完成"  @click.native="progress_preview" :key="index" :title="item" />&nbsp;-->
        <el-step title="案件听证告知书"  @click.native="hearing_notice_browse" :key="index" :title="item" />&nbsp;
        <el-step title="案件处理审批"  @click.native="case_handling_tabel_browse" :key="index" :title="item" />&nbsp;
        <!--          <el-step title="行政处罚事先告知书确认完成"  @click.native="progress_preview" :key="index" :title="item" />&nbsp;-->
        <el-step title="行政处罚事先告知书"  @click.native="advance_notice_browse" :key="index" :title="item" />&nbsp;
        <!--          <el-step title="行政处罚决定书确认完成"  @click.native="progress_preview" :key="index" :title="item" />&nbsp;-->
        <el-step title="行政处罚决定书及送达文书"  @click.native="punish_decision_browse" :key="index" :title="item" />&nbsp;
        <!--          <el-step title="行政罚款收据上传完成"  @click.native="progress_preview" :key="index" :title="item" />&nbsp;-->
        <el-step title="行政罚款收据"  @click.native="administrative_fine_browse" :key="index" :title="item" />&nbsp;
        <el-step title="结案报告表"  @click.native="final_report_tabel_browse" :key="index" :title="item" />&nbsp;<br>
        <el-step title="已&nbsp;完&nbsp;成" @click.native="view_archive_file_all" :key="index" :title="item" />&nbsp;<br>
      </el-steps>
    </el-dialog>



    <!--    证据照片视图-->
    <el-dialog title="" v-model="View_evi_Visible" width="34%">
      <html>
      <head>
        <title>证据照片</title>
      </head>
      <body>
      <div v-for="item in  case_img_Data">
        <h1 align="center">福建省闽侯县烟草专卖局<br>
          证据复制（提取）单
        </h1>
        <table border="1"  style="border-collapse: collapse;" width="100%">
          <tr >
            <th width="100%" colspan="4" align="center">
              <el-image
                      class="table-td-thumb"
                      :src="item.img"
                      :z-index="10"
                      :preview-src-list="[item.img]"
                      preview-teleported>
              </el-image><br>
              {{item.type}}
            </th>
          </tr>
          <tr>
            <th colspan="2" align="left">
              说明事项：{{ item.fill_time }}，我局烟草专卖执法人员现场拍摄的{{item.type}}的照片。<br>
              提取日期：{{item.time_now}}
            </th>
          </tr>
          <tr>
            <th colspan="1" width="50%" align="left">
              <br>提取人（签名或盖章）<br><br>
            </th>
            <th colspan="1">
            </th>
          </tr>
        </table>
      </div>

      </body>
      </html>
    </el-dialog>

    <!--    //查看相关证据线性保存通知书及批准书-->
    <el-dialog title="查看相关证据先行保存通知书及批准书" v-model="View_re_evi_save_vie_Visible" width="35%">

      <div align="center">
        <el-button type="primary" @click="view_evi_save_vie">证据先行保存通知书</el-button>&nbsp;&nbsp;&nbsp;&nbsp;
        <el-button type="primary" @click="view_re">证据先行保存批准书</el-button>
      </div>
      <br>

    </el-dialog>

    <el-dialog title="勘验笔录相关文件" v-model="View_Inspection_Records_Visible" width="35%">

      <div align="center">
        <el-button type="primary" @click="view_record_inspecting">现场勘验笔录</el-button>&nbsp;&nbsp;&nbsp;&nbsp;
        <el-button type="primary" @click="view_record_inquiry">现场询问笔录</el-button>
      </div>
      <br>

    </el-dialog>

    <!--    证据先行保存通知书照片视图-->
    <el-dialog title="" v-model="View_evi_save_Visible" width="34%">
      <th width="100%"  align="center"  height="600px">
      <el-image
              class="table-td-thumb"
              :src="case_evi_data.evi_img "
              :z-index="10"
              :preview-src-list="[case_evi_data.evi_img ]"
              preview-teleported>
      </el-image>
      </th>
    </el-dialog>
    <el-dialog title="查看证据先行保存批准书" v-model="View_Re_Visible" width="70%" >
      <el-table :data="evidence_case_Data" border class="table" ref="multipleTable" header-cell-class-name="table-header">
        <el-table-column prop="case_id" label="案件号"  align="center"></el-table-column>
        <el-table-column prop="evi_id_number" label="证据先行保存批准书编号"  width="200" align="center"></el-table-column>
        <el-table-column prop="tce_number" label="烟草数量"  align="center"></el-table-column>
        <el-table-column prop="tce_amount" label="烟草价值"  align="center"></el-table-column>
        <el-table-column label="操作" width="220" align="center">
          <template #default="scope">
            <el-button text :icon="Folder" @click="view_re_data(scope.row)" >
              查 看
            </el-button>
            <el-button text :icon="Printer" @click="create_evi_word(scope.row.case_id,scope.row.evi_id_number)" >
              打 印
            </el-button>
          </template>
        </el-table-column>
      </el-table>
      <!--        <template #footer>-->
      <!--				<span class="dialog-footer">-->
      <!--					<el-button @click="View_Re_Visible = false">取 消</el-button>-->
      <!--          <el-button @click="View_Re_Visible = false">确 定</el-button>-->
      <!--				</span>-->
      <!--        </template>-->
    </el-dialog>
    <!--    //查看证据先行保存批准书-->
    <el-dialog title="" v-model="View_Re_data_Visible" width="34%">
      <html>
      <head>
        <title>证据先行保存批准书</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h2 align="center">
        证据先行保存批准书
      </h2>
      <h3 align="center">
        侯烟存准【<b><u>{{case_evi_data.year}}</u></b>】第<b><u>{{case_evi_data.evi_id_number}}</u></b>号
      </h3>
      <div>
        <br><br>
      </div>
      <p>
        因 <b><u> {{ case_evi_data.mer_person }} </u></b> 涉嫌 <b><u>{{ case_evi_data.illegal_behavior }} </u></b>
        行为违反《中华人民共和国烟草专卖法》及实施条例等法律法规的有关规定，根据《中华人民共和国行政处罚法》
        第三十七条第二款的规定，现拟对下列物品予以先行登记保存：
      </p>
      <table border="1" style="border-collapse: collapse;" width="100%">
        <tr>
          <th  width="25%">品种</th>
          <th  width="30%">条形码</th>
          <th  width="25%">规格型号</th>
          <th  width="5%">单位</th>
          <th  width="10%">数量</th>
        </tr>
      </table>
      <div v-for="item in evidence_ciga_Data">
        <table border="1" style="border-collapse: collapse;" width="100%">
          <tr>
            <th  width="25%">{{item.ciga_variety}}</th>
            <th width="30%"> {{ item.barcode }}</th>
            <th  width="25%">{{ item.ciga_model }}</th>
            <th  width="5%">条</th>
            <th  width="10%">{{ item.evi_number }}</th>
          </tr>
        </table>
      </div>
      <table border="1" style="border-collapse: collapse;" width="100%">
        <tr>
          <th >
            <span style="text-align: left">共计： <b><u>{{ case_evi_data.tce_type_number_chinese }}</u></b>品种</span>
          </th>
          <th >
            <span style="text-align: right">总计： <b><u>{{ case_evi_data.tce_number_chinese }}</u></b></span>
          </th>
        </tr>
        <tr>
          <th>登记保存地点</th>
          <th>
            <b><u>{{case_evi_data.tce_address}}</u></b>
          </th>
        </tr>
      </table>
      <p style="font-size: 15px">
        登记保存证据的保存期限为七日。
      </p>
      <p style="font-size: 15px">
        承办人（签名）：&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
        <b><u>&emsp;&emsp;&emsp;&emsp;{{case_evi_data.user_name_1}}&emsp;&emsp;&emsp;&emsp;</u></b><br>
        <br><br>
        &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
        <b><u>&emsp;&emsp;&emsp;&emsp;{{case_evi_data.user_name_2}}&emsp;&emsp;&emsp;&emsp;</u></b>

      </p>
      <p align="right" style="font-size: 15px">
        <b><u> {{ case_evi_data.year }}</u></b>年  <b><u>{{ case_evi_data.month }}</u></b> 月  <b><u>{{ case_evi_data.day }}</u></b> 日
      </p>
      </body>
      </html>
      <!--        <template #footer>-->
      <!--				<span class="dialog-footer">-->
      <!--            <el-button type="primary" :icon="Printer" @click="create_evi_word(case_evi_data.case_id,case_evi_data.evi_id_number)" v-permiss="1">-->
      <!--              打 印-->
      <!--            </el-button>-->
      <!--				</span>-->
      <!--        </template>-->
    </el-dialog>

    <!--    查看勘验笔录-->
    <el-dialog title="" v-model="View_check_report_Visible" width="34%" >
      <html>
      <head>
        <title>检查（勘验）笔录</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h2 align="center">
        检查（勘验）笔录
      </h2>
      <table border="1" style="border-collapse: collapse;" width="100%">
        <tr>
          <th width="12%">时间</th>
          <th colspan="3" width="40%" >{{inspection_records_browse_view_data.year}}年{{inspection_records_browse_view_data.month}}月{{inspection_records_browse_view_data.day}}日
            {{inspection_records_browse_view_data.hour}}时{{inspection_records_browse_view_data.min}}分
          </th>
          <th width="12%">地点</th>
          <th width="40%">{{inspection_records_browse_view_data.mer_address}}</th>
        </tr>
        <tr>
          <th width="12%">被检查单位或个人</th>
          <th colspan="3" width="40%">{{inspection_records_browse_view_data.mer_name}}
          </th>
          <th width="12%">法人代表</th>
          <th width="40%">{{inspection_records_browse_view_data.mer_person}}</th>
        </tr>
        <tr>
          <th width="12%">性别</th>
          <th width="10%">{{inspection_records_browse_view_data.tir_gender}}</th>
          <th width="10%">年龄</th>
          <th width="10%" >{{inspection_records_browse_view_data.tir_age}}</th>
          <th width="13%">有效证件号码
          </th>
          <th width="13%">
            身份证号：{{inspection_records_browse_view_data.tir_id_number}}<br>
            许可证号：{{inspection_records_browse_view_data.retail_licence_code}}
          </th>
        </tr>
        <tr>
          <th>住址</th>
          <th colspan="5">{{inspection_records_browse_view_data.tir_home}}</th>
        </tr>
        <tr>
          <th>联系方式</th>
          <th colspan="5">{{inspection_records_browse_view_data.telephone_number}}</th>
        </tr>
        <tr>
          <th width="10%">检 查 勘 验 笔 录</th>
          <th colspan="5" align="left" width="90%">
            &emsp;&emsp;{{inspection_records_browse_view_data.year}}年{{inspection_records_browse_view_data.month}}月{{inspection_records_browse_view_data.day}}日
            {{inspection_records_browse_view_data.hour}}时{{inspection_records_browse_view_data.min}}分，我局专卖执法人员{{inspection_records_browse_view_data.user_name_1}}、{{inspection_records_browse_view_data.user_name_2}}
            等人在出示执法证件后依法对位于{{inspection_records_browse_view_data.mer_address}}{{inspection_records_browse_view_data.mer_name}}进行检查，现场勘验情况如下：<br>
            &emsp;&emsp;1、{{inspection_records_browse_view_data.whether_retail_licence_code}},现场店内负责人为：{{inspection_records_browse_view_data.mer_person}}<br>
            &emsp;&emsp;2、在该店柜台及仓库内检查发现涉嫌违法卷烟，（具体品种详见先行登记保存通知书：{{inspection_records_browse_view_data.evi_data}}）现场店内负责人{{inspection_records_browse_view_data.mer_person}}现场无法提供在当地烟草批发企业购买该批卷烟的有效证明，报本局领导批准同意，我局执法人员依法对上述卷烟予以先行登记保存，并告知当事人依法享有的陈述、申辩权利以及接受处理的时间和地点。<br>
            &emsp;&emsp;注：1、我局执法人员在现场店内负责人{{inspection_records_browse_view_data.mer_person}}在场的情况下进行检查，未对现场财务造成损坏。<br>
            &emsp;&emsp;&emsp;&emsp;2、先行登记保存的{{inspection_records_browse_view_data.ciga_data}}共计{{inspection_records_browse_view_data.tce_type_number_chinese}}品种{{inspection_records_browse_view_data.tce_number_chinese}}
            ，经现场店内负责人{{inspection_records_browse_view_data.mer_person}}核对无误后在先行登记保存通知书（{{inspection_records_browse_view_data.evi_data}})上签字确认。
          </th>
        </tr>
        <tr>
          <th>被检查人意见</th>
          <th colspan="5" align="left">
            &emsp;&emsp;</th>
        </tr>
        <tr >
          <th >检查人及证件号码</th>
          <th colspan="3" width="25%" align="left">&nbsp;&nbsp;&nbsp;{{inspection_records_browse_view_data.user_name_1}}:&nbsp;{{inspection_records_browse_view_data.staff_license_no1}}<br>
            &nbsp;&nbsp;&nbsp;{{inspection_records_browse_view_data.user_name_2}}:&nbsp;{{inspection_records_browse_view_data.staff_license_no2}}
          </th>
          <th >见证人</th>
<!--          <th ><el-image-->
<!--              style="width: 100px; height: 30px;float:none "-->
<!--              :src="img_sign_data.img">-->
<!--          </el-image></th>-->
        </tr>
        <tr>
          <th>备注</th>
          <th colspan="5" align="left">
            &emsp;&emsp;</th>
        </tr>

      </table>
      </body>
      </html>
      <template #footer>
				<span class="dialog-footer">
                  <el-button @click="View_check_report_Visible=false" >取 消</el-button>
          <el-button type="primary" :icon="Printer" @click="print_check_record">打 印</el-button>
				</span>
      </template>
    </el-dialog>
    <!--喷码记录表-->
    <el-dialog title="喷码记录表" v-model="inkjet_record_print_Visible" width="70%">
      <el-table :data="inkjet_record_print_Data" border class="table" ref="multipleTable" header-cell-class-name="table-header">
        <!--        <el-table-column prop="case_id" label="案件号"  align="center"></el-table-column>-->
        <!--        <el-table-column prop="record_id" label="喷码号"  align="center"></el-table-column>-->
        <el-table-column prop="evi_id_number" width="170px" label="先行保存通知书号码"   align="center"></el-table-column>
        <el-table-column prop="tce_type_number" label="共计（品种）"   align="center"></el-table-column>
        <el-table-column prop="tce_number" label="合计（数量）"   align="center"></el-table-column>
        <el-table-column prop="tce_amount" label="总金额"  align="center"></el-table-column>
        <el-table-column prop="user_name_1" label="执法员1"   align="center"></el-table-column>
        <el-table-column prop="user_name_2" label="执法员2"   align="center"></el-table-column>
        <el-table-column prop="mer_person" label="当事人"   align="center"></el-table-column>
        <!--        <el-table-column prop="tce_address" label="登记保存地点"   align="center"></el-table-column>-->
        <el-table-column label="操作"  align="center" width="193px">

          <template #default="scope">
            <el-button  text :icon="Edit" @click="views_inkjet_record_data(scope.$index, scope.row)" >
              查看
            </el-button>
            <el-button  text :icon="Printer" @click="Print_Inkjet_Record(scope.$index, scope.row)">
              打印
            </el-button>

          </template>
        </el-table-column>
      </el-table>

    </el-dialog>


    <!--    //查看卷烟喷码-->
    <el-dialog title="" v-model="Inkjet_record_Browse_Visible" width="45%">
      <html>
      <head>
        <title>涉案卷烟喷码明细表</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h2 align="center">
        涉案卷烟喷码明细表
      </h2>

      <table border="1" style="border-collapse: collapse;" width="100%">
        <tr>
          <th colspan="1" width="15.8%">先行登记保存通知书号</th>
          <th colspan="4">侯烟存准【<b><u>{{inkjet_record_view_data.year}}</u></b>】第<b><u>{{inkjet_record_view_data.evi_id_number}}</u></b>号</th>
        </tr>
        <tr>
          <td height="30px" width="15.8" align="center"><strong>卷烟品名</strong></td>
          <th width="25%">条形码</th>
          <th colspan="2" width="46%">喷码明细</th>
          <th width="8.5%">数量(条)</th>
        </tr>
      </table>
      <div v-for="item in inkjet_record_view_data.list">
        <table border="1" style="border-collapse: collapse;" width="100%" >
          <tr>
            <th  width="15.8%">{{item.ciga_variety}}</th>
            <th width="25%"> {{ item.barcode }}</th>
            <th  width="23%">{{ item.inkjet }}</th>
            <th  width="23%">{{ item.inkjet }}</th>
            <td height="40px" width="8.5%" align="center"><strong>{{ item.evi_number }}</strong></td>
          </tr>
        </table>
      </div>
      <table border="1" style="border-collapse: collapse;" width="100%">
        <tr>
          <td height="45px" colspan="2" width="42.8%" align="center"><strong>共计（品种）:{{inkjet_record_view_data.tce_type_number}}品种</strong></td>
          <td height="45px" colspan="3" align="center"><strong>合计（数量）:{{inkjet_record_view_data.tce_number}}</strong></td>
        </tr>
        <tr>
          <td height="55px" colspan="2" align="center" width="42.8%"><strong>执法人员:{{inkjet_record_view_data.user_name_1}}、{{inkjet_record_view_data.user_name_2}}</strong></td>
          <td height="55px" colspan="3" align="center" ><strong>当事人:{{inkjet_record_view_data.mer_person}}</strong></td>
        </tr>
      </table>
      </body>
      </html>
    </el-dialog>
    <!--    //查看立案报告表-->
    <el-dialog title="" v-model="View_report_Visible" width="34%">
      <html>
      <head>
        <title>立案报告表</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h2 align="center">
        立案报告表
      </h2>
      <h3 align="center">
        侯烟存准【<b><u>{{case_report_data.year}}</u></b>】第<b><u>{{case_report_data.case_number}}</u></b>号
      </h3>

      <table border="1" style="border-collapse: collapse;" width="100%">
        <tr>
          <th colspan="1" width="25%">案由</th>
          <th colspan="3">{{case_report_data.illegal_behavior_data}}</th>
        </tr>
        <tr>
          <th>案件来源</th>
          <th colspan="3">{{case_report_data.case_source}}</th>
        </tr>
        <tr>
          <th>发案时间</th>
          <th>{{case_report_data.year}}年{{case_report_data.month}}月{{case_report_data.day}}日
            {{case_report_data.hour}}时{{case_report_data.min}}分
          </th>
          <th>发案地点</th>
          <th>{{case_report_data.mer_address}}</th>
        </tr>
        <tr>
          <th>当事人</th>
          <th>{{case_report_data.tir_person}}</th>
          <th>证件类型及号码</th>
          <th>许可证号：{{case_report_data.retail_licence_code}}<br>
            身份证：{{case_report_data.tir_id_number}}
          </th>
        </tr>
        <tr>
          <th>住址</th>
          <th colspan="3">{{case_report_data.mer_hometown}}</th>
        </tr>
        <tr>
          <th>案情摘要</th>
          <th colspan="3" align="left">
            &emsp;&emsp;{{case_report_data.year}}年{{case_report_data.month}}月{{case_report_data.day}}日
            {{case_report_data.hour}}时，我局专卖执法人员在闽侯县{{ case_report_data.area_name }}进行{{ case_report_data.case_source }}，
            检查至{{ case_report_data.mer_address }}，依法对闽侯县{{ case_report_data.area_name }}{{ case_report_data.mer_name }}的当事人
            {{ case_report_data.tir_person }}出示执法检查证件表明身份后，
            依法对该店铺进行检查，在该店卷烟柜台内发现一批未印有“由中国烟草总公司专卖”字样的外国卷烟，品种数量如下:
            {{case_report_data.ciga_data}}
            总计{{ case_report_data.tce_type_number_chinese}}品种{{case_report_data.tce_number_chinese}}
            （具体品种详见先行登记保存通知书,单号{{case_report_data.evi_data}}）。
            由于当事人无法提供购买该批卷烟的合法有效证明，涉嫌 {{case_report_data.illegal_behavior_data}}的行为。为了保全证据，我局专卖执法人员对现场执法情况拍照留证，
            经本局领导批准同意，我局专卖执法人员依法对上述卷烟予以先行登记保存，同时制作检查（勘验）笔录，交当事人{{case_report_data.tir_person}}核对无异议后签字确认。</th>
        </tr>
        <tr>
          <th>承办人意见</th>
          <th colspan="3" align="left">
            &emsp;&emsp;当事人的行为涉嫌违反了{{case_report_data.violate_law}}，建议立案调查，进一步查清案件事实。<br><br>
            签名：<br><br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;日期：&emsp;年&emsp;月&emsp;日</th>
        </tr>
        <tr>
          <th>承办部门意见</th>
          <th colspan="3" align="left"><br><br>
            签名：<br><br> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;日期：&emsp;年&emsp;月&emsp;日<br></th>
        </tr>
        <tr>
          <th>领导意见</th>
          <th colspan="3" align="left"><br><br>
            签名：<br><br> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;日期：&emsp;年&emsp;月&emsp;日<br></th>
        </tr>
      </table>
      </body>
      </html>
      <template #footer>
				<span class="dialog-footer">
                    <el-button @click="View_report_Visible = false">取 消</el-button>
          <el-button type="primary" :icon="Printer" @click="create_report_word">打 印</el-button>
				</span>
      </template>
    </el-dialog>

    <!--    //查看卷烟鉴别书-->
    <el-dialog title="" v-model="View_identify_Visible" width="34%">
      <html>
      <head>
        <title>卷烟产品鉴别书</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h2 align="center">
        卷烟产品鉴别书
      </h2>
      <table border="1"  style="border-collapse: collapse;" width="100%">
        <tr>
          <th colspan="1" width="15%">当事人</th>
          <th colspan="1">{{case_identify_report_data.tir_person}}</th>
          <th colspan="1">身份证号码</th>
          <th colspan="1">{{case_identify_report_data.tir_id_number}}</th>
        </tr>
        <tr>
          <th colspan="1">查获时间</th>
          <th colspan="1">{{case_identify_report_data.year}}年{{case_identify_report_data.month}}月{{case_identify_report_data.day}}日</th>
          <th colspan="1">查获地点</th>
          <th colspan="1">{{case_identify_report_data.mer_address}}</th>
        </tr>
        <tr>
          <th colspan="1">送检单位</th>
          <th colspan="1">{{case_identify_report_data.staff_evi_send_unit}}</th>
          <th colspan="1">送检时间</th>
          <th colspan="1">{{case_identify_report_data.year1}}年{{case_identify_report_data.month1}}月{{case_identify_report_data.day1}}日</th>
        </tr>
        <tr>
          <th colspan="1">送检人员</th>
          <th colspan="3">{{case_identify_report_data.staff_evi_send_per_name}}</th>
        </tr>
        <tr>
          <th colspan="1">卷烟来源情况及查获品牌和数量</th>
          <th colspan="3" align="left">
            &emsp;&emsp;<span >{{case_identify_report_data.year}}年{{case_identify_report_data.month}}月{{case_identify_report_data.day}}日</span>，
            我局专卖执法人员依法对位于<span >{{case_identify_report_data.mer_address}}</span>
            的<span >{{case_identify_report_data.mer_name}}</span>的当事人<span >{{case_identify_report_data.tir_person}}</span>
            出示执法检查证件表明身份后，对该店铺进行检查，并在卷烟柜台以及仓库内发现涉嫌违法的卷烟，品种数量如下：<span >{{case_identify_report_data.ciga_data_all}}</span>
            共计<span >{{case_identify_report_data.tce_type_number_chinese}}</span>品种<span >{{case_identify_report_data.tce_number_chinese}}</span>
            （证据先行登记保存通知书号：<span >{{ case_identify_report_data.evi_data_all }}</span>）。由于当事人无法提供该批卷烟的合法有效证明，
            涉嫌<span >{{case_identify_report_data.illegal_behavior_data}}</span>行为，为了保全证据，我局专卖执法人员对现场执法情况拍照留证，
            经报本局领导批准同意，我局专卖执法人员依法对上述卷烟予以先行登记保存，同时制作检查（勘验）笔录，交当事人<span >{{case_identify_report_data.tir_person}}</span>核对无异议后签字确认。
          </th>
        </tr>
        <tr>
          <th colspan="1">鉴别情况及鉴别结论</th>
          <th colspan="3"  align="left">
            我局卷烟真伪鉴别小组依据《烟草专卖品鉴别检验管理办法》【国烟科[2014]285号】；《卷烟产品鉴别检验规程》；
            GB5606.4-2005 卷烟 第4部分 感官技术要求，借助卷烟鉴别仪器，将上述卷烟与真品卷烟进行对照，
            对被鉴别卷烟的生产工艺、防伪标志等进行检查、识别、并经逻辑分析加以综合判定，鉴别结论如下：
            <span >{{case_identify_report_data.ciga_data_t}}</span>
            <span >{{case_identify_report_data.ciga_data_f}}</span>
          </th>
        </tr>
        <tr>
          <th colspan="1">真伪鉴别小组人员签名</th>
          <th colspan="2" align="left">{{case_identify_report_data.staff_evi_check_per_name_1}}{{case_identify_report_data.staff_identity_license_no_1}}<br>
            {{case_identify_report_data.staff_evi_check_per_name_2}}{{case_identify_report_data.staff_identity_license_no_1}}
          </th>
          <th colspan="1"> 鉴别日期：{{case_identify_report_data.year2}}年{{case_identify_report_data.month2}}月{{case_identify_report_data.day2}}日</th>
        </tr>
        <tr>
          <th colspan="1">当事人对上述鉴别结论是否有异议</th>
          <th colspan="3" align="left">
            {{case_identify_report_data.staff_evi_per_note}}
          </th>
        </tr>
        <tr>
          <th colspan="1">备注</th>
          <th colspan="3" align="left">
          </th>
        </tr>
      </table>
      </body>
      </html>
      <template #footer>
				<span class="dialog-footer">
					<el-button @click="View_identify_Visible = false">取 消</el-button>
          <el-button type="primary" @click="create_identify_report_word">打 印</el-button>
				</span>
      </template>
    </el-dialog>

    <!--核价表-->
    <el-dialog title="" v-model="Price_list_Browse_Visible" width="40%">
      <html>
      <head>
        <title>涉案烟草专卖品核价表</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h2 align="center">
        涉案烟草专卖品核价表
      </h2>
      <div >
        福建省闽侯县烟草专卖局于 <b><u> {{ price_review_data_storage.year }} </u></b> 年 <b><u>{{ price_review_data_storage.month }} </u></b>月<b><u>{{price_review_data_storage.day }} </u></b>日（侯烟立[<strong>{{price_review_data_storage.year}}</strong>]第【<strong>{{price_review_data_storage.case_number}}</strong>】号）查获的以下涉案烟草专卖品, 根据福建省烟草专卖局公布的价格信息，价格核实如下：
      </div>
      <table border="1" style="border-collapse: collapse;" width="100%" >
        <tr>
          <td align="center" width="13%" height="40px"><strong>品种</strong></td>
          <td width="15%" align="center" height="30px"><strong>条形码</strong></td>
          <td width="14%" align="center" height="30px"><strong>规格型号</strong></td>
          <td width="15%" align="center" height="30px"><strong>数量(条)</strong></td>
          <td width="14%" align="center" height="30px"><strong>单价(元)</strong></td>
          <td width="14%" align="center" height="30px"><strong>合计</strong></td>
          <td width="15%" align="center" height="30px"><strong>备注</strong></td>
        </tr>
      </table>
      <div v-for="item in evidence_ciga_Data">
        <table border="1" style="border-collapse: collapse;" width="100%" >
          <tr>
            <td width="13%" align="center" height="30px"><strong >{{item.ciga_variety}}</strong></td>
            <td width="15%" align="center" height="30px"><strong>{{ item.barcode }}</strong></td>
            <td width="14%" align="center" height="30px"><strong>{{ item.ciga_model }}</strong></td>
            <td width="15%" align="center" height="30px"><strong>{{ item.evi_number }}</strong></td>
            <td width="14%" align="center" height="30px"><strong>{{ item.ciga_price }}</strong></td>
            <td width="14%" align="center" height="30px"><strong>{{ item.single_total }}</strong></td>
            <td width="15%" align="center" height="30px"></td>
          </tr>
        </table>
      </div>

      <table border="1" style="border-collapse: collapse;" width="100%" height="50px">
        <tr>
          <th align="center" width="42%" colspan="3">
            <span style="text-align: center">合计</span>
          </th>
          <th align="center" width="15%">
            <span style="text-align: center">{{ price_review_data_storage.tce_number }}</span>
          </th>
          <th align="center" width="14%">
            <span style="text-align: center">/</span>
          </th>
          <th align="center" width="14%">
            <span style="text-align: center">{{ price_review_data_storage.tce_amount }}</span>
          </th>
          <th align="center" width="15%">
            <span style="text-align: center ">/</span>
          </th>
        </tr>
      </table>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font ><strong>经办人：</strong></font>
      <br><br><br>
      <div align="right">
        <font ><strong>（核价专用印章） </strong></font>
      </div>
      <div align="right">
        <font ><b><u>{{ price_review_data_storage.year }}</u></b>年</font><font ><b><u>{{price_review_data_storage.month }}</u></b>月</font><font ><b><u>{{price_review_data_storage.day }}</u></b>日</font>
      </div>
      </body>

      </html>
      <template #footer>
        <span class="dialog-footer">
            <el-button @click="Price_list_Browse_Visible=false" >取 消</el-button>
                <el-button type="primary" :icon="Printer"  @click="review_price_word" >
                打印
              </el-button>
        </span>
      </template>
    </el-dialog>

    <!--询问笔录 -->
    <el-dialog  v-model="Inquiry_record_list_Browse_Visible" width="50%">
      <html>
      <head>
        <title>询问笔录</title>
      </head>
      <body>
      <h1 align="center">
        福建省福州市闽侯县烟草专卖局
      </h1>
      <h2 align="center">
        询问笔录
      </h2>
      <br>
      <div >
        <font size="3">
          <b>询问时间：</b>{{inquiry_record_browse_data.date_of_filing}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        </font>
      </div>
      <div >
        <font size="3">
          <b>询问地点：</b>{{inquiry_record_browse_data.tce_address}}
        </font>
      </div>
      <div >
        <font size="3" >
          <b> 询问人：</b>{{inquiry_record_browse_data.user_name_1}}&nbsp;&nbsp;{{inquiry_record_browse_data.user_name_2}} &nbsp;&nbsp;  记录人：{{inquiry_record_browse_data.recorder}}
        </font>
      </div>
      <div >
        <font size="3">
          <b> 被询问人：</b>{{inquiry_record_browse_data.mer_person}}  &nbsp;&nbsp;性别：{{inquiry_record_browse_data.gender}}&nbsp;&nbsp;民族：{{inquiry_record_browse_data.nation}}
        </font>
      </div>
      <div >
        <font size="3">
          <b> 证件类型及号码：</b>{{inquiry_record_browse_data.identity_card}}(身份证)&nbsp;&nbsp;<b>住址：</b>{{inquiry_record_browse_data.family_address}}
        </font>
      </div>
      <div >
        <font size="3">
          <b>经营地址：</b>{{inquiry_record_browse_data.business_address}} &nbsp;&nbsp; <b>联系电话：</b>{{inquiry_record_browse_data.telephone_number}}
        </font>
      </div>
      <div >
        <font size="3">
          <b>执法人员表明身份、出示证件及被询问人确认的记录：</b>{{inquiry_record_browse_data.confirm_record}}
        </font>
      </div>
      <div >
        <font size="3">
          <b>告知陈述（申辩）和申请回避的权利：</b>{{inquiry_record_browse_data.inform_right}}
        </font>
      </div>
      <div >
        <font size="3">
          <b>被询问人：</b>{{inquiry_record_browse_data.tir_person_answer}}
        </font>
      </div>
      <div v-for="item in inquiry_record_browse_data.question_answer_list">
        <font size="3">
          <b>问：</b>{{item.question}}&nbsp;&nbsp;&nbsp;</font><br>
        <font size="3">
          <b>答：</b>{{item.answer}}&nbsp;&nbsp;&nbsp;
        </font>

      </div>

      <div >
        <font size="3">
          <b>问：</b>{{inquiry_record_browse_data.end_confirm}}
        </font>
      </div>
      <div >
        <font size="3">
          <b> 以上笔录经被询问人核对无误。</b>
        </font>
      </div>
      <div >
        <font size="3">
          被询问人（签名）：
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;日
        </font>
      </div>
      <div >
        <font size="3">
          询&nbsp;问&nbsp;&nbsp;&nbsp;人（签名）：

          执法证号:<b><u>____________________{{}} </u></b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;日
        </font>
      </div>
      <br>
      <div >
        <font size="3">
          询&nbsp;问&nbsp;&nbsp;&nbsp;人（签名）：

          执法证号:<b><u>____________________{{}} </u></b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;日
        </font>
      </div>
      </body>

      </html>
      <template #footer>
        <span class="dialog-footer">
            <el-button @click="Inquiry_record_list_Browse_Visible=false" >取 消</el-button>
                <el-button type="primary" :icon="Printer"  @click="inquiry_record_print" >
                打 印
              </el-button>
        </span>
      </template>
    </el-dialog>

    <!--    //查看证据调查终结文书-->
    <el-dialog title="" v-model="View_end_report_Visible" width="34%">
      <html>
      <head>
        <title>调查终结文书</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h2 align="center">
        案件调查终结报告
      </h2>
      <table border="1"  style="border-collapse: collapse;" width="100%">
        <tr>
          <th colspan="1" width="15%">案由</th>
          <th colspan="3">{{case_end_report_data.illegal_behavior_data}}</th>
        </tr>
        <tr>
          <th colspan="1">案发地点</th>
          <th colspan="3">{{case_end_report_data.mer_address}}</th>
        </tr>
        <tr>
          <th colspan="1">立案日期</th>
          <th colspan="1">{{case_end_report_data.year}}年{{case_end_report_data.month}}月{{case_end_report_data.day}}日</th>
          <th colspan="1">立案编号</th>
          <th colspan="1">侯烟立[{{case_end_report_data.year}}]{{case_end_report_data.case_number}}号</th>
        </tr>
        <tr>
          <th colspan="1">当事人</th>
          <th colspan="1">{{case_end_report_data.tir_person}}</th>
          <th colspan="1">调查人</th>
          <th colspan="1">{{case_end_report_data.user_name_1}}、{{case_end_report_data.user_name_2}}</th>
        </tr>
        <tr>
          <th colspan="1">证件名称及号码</th>
          <th colspan="3" align="left">身份证号：{{case_end_report_data.tir_id_number}}<br>
            烟草专卖零售许可证号：{{case_end_report_data.retail_licence_code}}
          </th>
        </tr>
        <tr>
          <th colspan="1">住址</th>
          <th colspan="1">{{case_end_report_data.tir_home}}</th>
          <th colspan="1">电话</th>
          <th colspan="1">{{case_end_report_data.tel}}</th>
        </tr>
        <tr>
          <th colspan="1">案件来源及调查经过</th>
          <th colspan="3" align="left">
            &emsp;&emsp;<span >{{case_end_report_data.year}}年{{case_end_report_data.month}}月{{case_end_report_data.day}}日</span>，
            我局专卖执法人员依法对位于<span >{{case_end_report_data.mer_address}}</span>
            的<span >{{case_end_report_data.mer_name}}</span>的当事人<span >{{case_end_report_data.tir_person}}</span>
            出示执法检查证件表明身份后，对该店铺进行检查，并在卷烟柜台以及仓库内发现涉嫌违法的卷烟，品种数量如下：<span >{{case_end_report_data.ciga_data_all}}</span>，
            共计<span >{{case_end_report_data.tce_type_number_chinese}}</span>品种<span >{{case_end_report_data.tce_number_chinese}}</span>
            （证据先行登记保存通知书号：<span >{{ case_end_report_data.evi_data_all }}</span>）。由于当事人无法提供该批卷烟的合法有效证明，
            涉嫌<span >{{case_end_report_data.illegal_behavior}}</span>行为，为了保全证据，我局专卖执法人员对现场执法情况拍照留证，
            经报本局领导批准同意，我局专卖执法人员依法对上述卷烟予以先行登记保存，同时制作检查（勘验）笔录，交当事人<span >{{case_end_report_data.tir_person}}</span>核对无异议后签字确认。
          </th>
        </tr>
        <tr>
          <th colspan="1">违法事实与证据</th>
          <th colspan="3"  align="left">
            &emsp;&emsp;本局于<span >{{case_end_report_data.year}}年{{case_end_report_data.month}}月{{case_end_report_data.day}}日</span>
            对该案进行立案调查。现查实：据当事人
            <span >{{case_end_report_data.tir_person}}</span>陈述，
            <span >{{case_end_report_data.cigarette_origin}}。</span>
            我局卷烟真伪鉴别小组依法进行鉴别，
            <span >{{case_end_report_data.evi_ciga_f}}</span>
            <span >{{case_end_report_data.evi_ciga_t}}</span>
            ，当事人对鉴别结论没有异议。因上述卷烟当事人无法提供相关账册、发票等证据对其进销价格及其进销渠道进行印证,故我局核价小组不予采信，根据福建省烟草专卖局公布的价格信息，
            以案发当日作为核价基准日进行计算，<span >{{case_end_report_data.ciga_amount_f}}</span>
            <span >{{case_end_report_data.ciga_amount_t}}</span>上诉卷烟案值共计
            <span >{{case_end_report_data.tce_amount_chinese}}
            （人民币{{case_end_report_data.tce_amount}}元）</span><br>
            &emsp;&emsp;以上事实，有下列我局执法人员采集的与本案相关的证据为证：<br>
            &emsp;&emsp;证据（一）我局专卖执法人员制作的关于当事人经营场所《检查（勘验）笔录》一份，证明当事人从事违规卷烟销售及现场检查情况。<br>
            &emsp;&emsp;证据（二）我局专卖执法人员制作的《先行登记保存批准书》<span >({{case_end_report_data.evi_data_all}})</span>，
            《先行登记保存通知书》<span >({{case_end_report_data.evi_data_all}})</span>各一份，
            证明当事人经营场所查获涉案卷烟的品种、规格及数量。<br>
            &emsp;&emsp;证据（三）我局专卖执法人员现场拍摄的当事人经营场所及卷烟等《现场照片》一组，证明当事人经营场所现场及卷烟有关情况。<br>
            &emsp;&emsp;证据（四）当事人来接受调查时提供的当事人身份证复印件一份，烟草专卖零售许可证（副本）复印件一份，证明当事人身份、从业资格。<br>
            &emsp;&emsp;证据（五）当事人来接受调查时，我局执法人员制作并由当事人签字确认的《询问（调查）笔录》一份，证明当事人从事违规卷烟进销的具体情况。<br>
            &emsp;&emsp;证据（六）我局卷烟真伪鉴别小组对涉案卷烟进行鉴别，制作并由当事人签字确认的《卷烟产品鉴别书》一份，证明该批卷烟真伪情况。<br>
            &emsp;&emsp;证据（七）我局卷烟价格核价小组制作涉案物品核价表一份，证明该批卷烟价格情况。<br>
            &emsp;&emsp;证据（八）我局登记涉案卷烟喷码明细表一份，证明当事人未从福州市烟草公司闽侯分公司进货。<br>
            以上事实清楚，证据确凿，足以认定当事人<span >{{case_end_report_data.tir_person}}</span>
            的行为违反了{{case_end_report_data.violate_law}}的规定，
            构成了{{case_end_report_data.illegal_behavior}}的行为。
          </th>
        </tr>
        <tr>
          <th colspan="1">处罚依据</th>
          <th colspan="3">{{case_end_report_data.punish_basis}}
          </th>
        </tr>
        <tr>
          <th colspan="1">承办人意见</th>
          <th colspan="3" align="left">
            根据违法事实<br>
            <span >&emsp;&emsp;当事人{{case_end_report_data.tir_person}}</span>
            <br>
            &emsp;&emsp;<span >{{case_end_report_data.evi_amount_all}}</span><br>
            &emsp;&emsp;此次卷烟案值共计<span >{{case_end_report_data.tce_amount_chinese}}</span>
            （人民币<span >{{case_end_report_data.tce_amount}}</span>元）<br>
            &emsp;&emsp;案件现已调查终结，请审核。<br>
            &emsp;&emsp;&emsp;&emsp;签字：

<!--            <span style="color: red">{{case_end_report_data.user_name_1}}</span>-->
           执法证号：<span >{{case_end_report_data.user_id_1}}</span><br>
            &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;

<!--            <span style="color: red">{{case_end_report_data.user_name_2}}</span>-->
            执法证号：<span >{{case_end_report_data.user_id_2}}</span>

          </th>
        </tr>
      </table>
      </body>
      </html>
      <template #footer>
				<span class="dialog-footer">
					<el-button @click="View_end_report_Visible = false">取 消</el-button>
          <el-button type="primary" @click="create_end_report_word">打 印</el-button>
				</span>
      </template>
    </el-dialog>

    <el-dialog  v-model="Collective_discuss_list_Browse_Visible" width="50%">
      <html>
      <head>
        <title>重大案件集体讨论记录</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h2 align="center">
        重大案件集体讨论记录
      </h2>
      <br>
      <div >
        <font size="3">
          <b> 案 由：</b>{{collective_discuss_browse_data.case_cause}}
        </font>
      </div>
      <div >
        <font size="3">
          <b>立案编号：</b>侯烟处[{{collective_discuss_browse_data.year}}]第{{collective_discuss_browse_data.case_number}}号
        </font>
      </div>
      <div >
        <font size="3" >
          <b>当事人：</b>{{collective_discuss_browse_data.tir_person}}
        </font>
      </div>
      <div >
        <font size="3">
          <b>时 间：</b>{{collective_discuss_browse_data.year1}}年{{collective_discuss_browse_data.month1}}月{{collective_discuss_browse_data.day1}}日{{collective_discuss_browse_data.hour1}}时{{collective_discuss_browse_data.min1}}分&nbsp;-&nbsp;
          {{collective_discuss_browse_data.year2}}年{{collective_discuss_browse_data.month2}}月{{collective_discuss_browse_data.day2}}日{{collective_discuss_browse_data.hour2}}时{{collective_discuss_browse_data.min2}}分
        </font>
      </div>
      <div >
        <font size="3">
          <b>地点：</b>{{collective_discuss_browse_data.discuss_address}}
        </font>
      </div>
      <div >
        <font size="3">
          <b>主持人：</b>{{collective_discuss_browse_data.staff_host_name}}&nbsp;&nbsp; &nbsp;&nbsp;<b>职务：</b>{{collective_discuss_browse_data.host_degree}}&nbsp;&nbsp;&nbsp;&nbsp;<b>记录人：</b>{{collective_discuss_browse_data.recorder_name}}
        </font>
      </div>
      <div >
        <font size="3">
          <b>出席人员姓名及职务：</b>{{collective_discuss_browse_data.attend_person_all}}
        </font>
      </div>
      <div >
        <font size="3">
          <b> 列席人员姓名及职务：</b>{{collective_discuss_browse_data.sit_attend_person_all}}
        </font>
      </div>
      <br>
      <div v-for="item in collective_discuss_browse_data.list1">
        <font size="3">
          {{item.staff_name}}{{item.speak_type}}：</font><br>
        <font size="3">
          &emsp;&emsp;{{group_discussion_storage_data.year}}年{{group_discussion_storage_data.month}}月{{group_discussion_storage_data.day}}日,我局专卖执法人员在闽侯县进行市场检查,检查至{{group_discussion_storage_data.mer_address}},
          依法对{{group_discussion_storage_data.mer_name}}的当事人{{group_discussion_storage_data.tir_person}}出示执法检查证件表明身份后，依法对该店铺进行检查，在该店卷烟柜台内发现一批未印有“由中国烟草总公司专卖”字样的外国卷烟，品种数量如下：
          {{group_discussion_storage_data.ciga_data_all}}，总计{{group_discussion_storage_data.tce_type_number_chinese}}品种{{group_discussion_storage_data.tce_number_chinese}}（具体品种详见先行登记保存通知书，单号：{{group_discussion_storage_data.evi_data_all}}）。
          由于当事人无法提供购买该批卷烟的合法有效证明，涉嫌{{group_discussion_storage_data.illegal_behavior}}的行为。为了保全证据，我局专卖执法人员对现场执法情况拍照留证，经本局领导批准同意，我局专卖执法人员依法对上述卷烟予以先行登记保存，同时制作检查（勘验）笔录，交当事人{{group_discussion_storage_data.tir_person}}核对无异议后签字确认。<br>
          &emsp;&emsp;本局于{{group_discussion_storage_data.year}}年{{group_discussion_storage_data.month}}月{{group_discussion_storage_data.day}}日对该案进行立案调查。{{group_discussion_storage_data.year1}}年{{group_discussion_storage_data.month1}}月{{group_discussion_storage_data.day1}}日
          {{group_discussion_storage_data.tir_person}}前来我局接受询问调查。现查实：当事人为了牟取非法利益，{{group_discussion_storage_data.cigarette_origin}}我局卷烟真伪鉴别小组，鉴定该批涉案卷烟{{group_discussion_storage_data.evi_ciga_t}}、{{group_discussion_storage_data.evi_ciga_f}}，
          当事人对鉴别结论没有异议。因当事人未供述购进价格，无法提供相关账册发票等证据进行印证,故我局核价小组根据福建省烟草专卖局公布的价格信息，以案发当日作为核价基准日进行计算，核定违法卷烟价值计人民币{{group_discussion_storage_data.tce_amount_chinese}}(人民币{{group_discussion_storage_data.tce_amount}}元)。<br>
          &emsp;&emsp;以上事实，有下列我局执法人员采集的与本案相关的证据为证：<br>
          &emsp;&emsp;证据（一）我局专卖执法人员制作的关于当事人经营场所《检查（勘验）笔录》一份，证明当事人从事违规卷烟销售及现场检查情况。<br>
          &emsp;&emsp;证据（二）我局专卖执法人员制作的《先行登记保存批准书》（{{group_discussion_storage_data.evi_data_all_1}}），《先行登记保存通知书》（{{group_discussion_storage_data.evi_data_all}}）各{{group_discussion_storage_data.num1}}份，证明当事人经营场所查获涉案卷烟的品种、规格及数量。<br>
          &emsp;&emsp;证据（三）我局专卖执法人员现场拍摄的当事人经营场所及卷烟等《现场照片》一组，证明当事人经营场所现场及卷烟有关情况。<br>
          &emsp;&emsp;证据（四）当事人来接受调查时提供的当事人身份证复印件一份，烟草专卖零售许可证复印件一份，证明当事人从业资格、身份。<br>
          &emsp;&emsp;证据（五）当事人来接受调查时，我局执法人员制作并由当事人签字确认的《询问（调查）笔录》一份，证明当事人从事违规卷烟进销的具体情况。<br>
          &emsp;&emsp;证据（六）我局卷烟真伪鉴别小组对涉案卷烟进行鉴别，制作并由当事人签字确认的《卷烟产品鉴别书》一份，证明该批卷烟为真假性。<br>
          &emsp;&emsp;证据（七）我局卷烟价格核价小组制作涉案物品核价表一份，证明该批卷烟价格情况。<br>
          &emsp;&emsp;以上事实清楚，证据确凿，足以认定当事人{{group_discussion_storage_data.tir_person}}的行为违反了{{group_discussion_storage_data.violate_law}}的规定，构成了{{group_discussion_storage_data.illegal_behavior}}的事实。
        </font>

      </div>
      <br>
      <div v-for="item in collective_discuss_browse_data.list2">
        <font size="3">
          {{item.staff_name}}{{item.speak_type}}：</font><br>
        <font size="3">
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{item.speak_content}}
        </font>
      </div>
      <br>
      <div v-for="item in collective_discuss_browse_data.list3">
        <font size="3">
          {{item.staff_name}}发言：</font><br>
        <font size="3">
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{item.speak_content}}
        </font>
      </div>
      <br>
      <div v-for="item in collective_discuss_browse_data.list4">
        <font size="3">
          {{item.staff_name}}{{item.speak_type}}：</font><br>
        <font size="3">
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{item.speak_content}}
        </font>
      </div>
      <br><br>
      <div>
        <font size="3">
          与会人员签署意见并签名：___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________


        </font >
      </div>
      </body>

      </html>
      <template #footer>
        <span class="dialog-footer">
            <el-button @click="Collective_discuss_list_Browse_Visible=false" >取 消</el-button>
                <el-button type="primary" :icon="Printer"  @click="group_discuss_print" >
                打 印
              </el-button>
        </span>
      </template>
    </el-dialog>

    <!--听证告知书预览-->
    <el-dialog title="" v-model="Hearing_notice_Borwse_Visible" width="34%">
      <html>
      <head>
        <title>听证告知书</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h1 align="center">
        听证告知书
      </h1>
      <div align="center">
        <font size="3">侯烟听告[{{hearing_notice_data_storage.year}}]第{{hearing_notice_data_storage.case_number}}号</font>
      </div>
      <div >

        <font size="3">
          {{hearing_notice_data_storage.tir_person}}：
        </font>

      </div>
      <div >

        <font size="3">
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;你于{{hearing_notice_data_storage.year}}年{{hearing_notice_data_storage.month}}月{{hearing_notice_data_storage.day}}日，因{{hearing_notice_data_storage.illegal_behavior}}行为，违反了{{hearing_notice_data_storage.violate_law}}，构成了{{hearing_notice_data_storage.illegal_behavior}}的事实。根据《中华人民共和国行政处罚法》第二十八条规定，现责令当事人改正上述行为。
          并根据{{hearing_notice_data_storage.punish_basis}}的规定，决定处罚如下:
        </font>

      </div>
      <div >

        <font size="3">
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;对当事人{{hearing_notice_data_storage.tir_person}}{{hearing_notice_data_storage.illegal_behavior}}的违法行为，{{hearing_notice_data_storage.penalty_decision}}。
        </font>

      </div>
      <div >

        <font size="3">
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;根据《中华人民共和国行政处罚法》第六十三条、第六十四条和《烟草专卖行政处罚程序规定》第四十四条第一款第（二）项的规定，当事人有要求举行听证的权利。如你要求举行听证，应该在收到本告知书后五日内向本局提出申请。逾期未提出的，视为放弃要求举行听证的权利。
        </font>

      </div>
      <div>
        <font size="3">
          本局地址：{{hearing_notice_data_storage.bureau_address}}
        </font>
      </div>
      <div>
        <font size="3">
          邮编：{{hearing_notice_data_storage.postal_code}}
        </font>
      </div>
      <div>
        <font size="3">
          联系电话：{{hearing_notice_data_storage.telephone_number}}
        </font>
      </div>
      <div>
        <strong>
          <font size="3">
            承办人（签名）：<b><u>{{hearing_notice_data_storage.undertaker1_name}}&nbsp;&nbsp;&nbsp;执法证号：{{hearing_notice_data_storage.staff_license_no1}}</u></b>_______________
          </font>
        </strong>
<!--        <strong>-->
<!--          <font size="3">-->
<!--            承办人（签名）：<b><u>-->
<!--&lt;!&ndash;            {{hearing_notice_data_storage.undertaker1_name}}&nbsp;&nbsp;&nbsp;&ndash;&gt;-->
<!--            <el-image-->
<!--                style="width: 100px; height: 30px;clear: left "-->
<!--                :src="img_sign_data.img">-->
<!--            </el-image>执法证号：{{hearing_notice_data_storage.staff_license_no1}}</u></b>_______________-->
<!--          </font>-->
<!--        </strong>-->

      </div>
      <div align="right">
        <strong>
          <font size="3">
            <b><u>{{hearing_notice_data_storage.undertaker2_name}}&nbsp;&nbsp;&nbsp;执法证号：{{hearing_notice_data_storage.staff_license_no2}}</u></b>________________
          </font>
        </strong>
<!--        <strong>-->
<!--          <font size="3">-->
<!--            <b><u>-->
<!--              <el-image-->
<!--                  style="width: 100px; height: 30px;clear: left "-->
<!--                  :src="img_sign_data.img">-->
<!--              </el-image>-->
<!--&lt;!&ndash;              {{hearing_notice_data_storage.undertaker2_name}}&nbsp;&nbsp;&nbsp;&ndash;&gt;-->
<!--              执法证号：{{hearing_notice_data_storage.staff_license_no2}}</u></b>________________-->
<!--          </font>-->
<!--        </strong>-->
      </div>
      <div align="right">
        <strong>
          <font size="3">
            福建省闽侯县烟草专卖局
          </font>
        </strong>
        <br>
        <strong>
          <font size="3">
            （印&nbsp;&nbsp;章）&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </font>
        </strong>
      </div>

      <div align="right">
        <strong>
          <font size="3">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {{hearing_notice_data_storage.year1}}&nbsp;年&nbsp;{{hearing_notice_data_storage.month1}}&nbsp;月&nbsp;{{hearing_notice_data_storage.day1}}&nbsp;日
          </font>
        </strong>
      </div>
      <div >
        <strong>
          <font size="3">
            当事人意见及签名：_____________________________________
<!--            <el-image-->
<!--              style="width: 100px; height: 30px;clear: left "-->
<!--              :src="img_sign_data.img">-->
<!--          </el-image>-->
          </font>
        </strong>
      </div>

      </body>
      </html>
      <template #footer>
				<span class="dialog-footer">
					<el-button @click="Hearing_notice_Borwse_Visible = false">取 消</el-button>
          <el-button :icon="Printer" type="primary" @click="create_hearing_notice_word">打 印</el-button>
				</span>
      </template>
    </el-dialog>


    <!--    //查看案件处理审批表-->
    <el-dialog title="" v-model="View_case_handing_Visible" width="43%">
      <html>
      <head>
        <title>案件处理审批表</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h1 align="center">
        案件处理审批表
      </h1>
      <table border="1"  style="border-collapse: collapse;" width="100%">
        <tr>
          <th colspan="1" width="15%">案由</th>
          <th colspan="8">{{case_handing_data_storage.illegal_behavior}}</th>
        </tr>
        <tr>
          <th colspan="1" width="15%">立案编号</th>
          <th colspan="5" width="34%">侯烟立[{{case_handing_data_storage.year}}]第{{case_handing_data_storage.case_number}}号</th>
          <th colspan="2" width="18%">立案时间</th>
          <th colspan="1" width="33%">{{case_handing_data_storage.year}}年{{case_handing_data_storage.month}}月{{case_handing_data_storage.day}}日</th>
        </tr>
        <tr>
          <th rowspan="4" colspan="1" width="15%">当事人</th>
          <th  colspan="1" width="4%">名称</th>
          <th colspan="4" width="30%">{{case_handing_data_storage.name}}</th>
          <th  colspan="2" width="18%">法定代表人（负责人）</th>
          <th  colspan="1" width="33%">{{case_handing_data_storage.statutory_responsible_person}}</th>
        </tr>
        <tr>
          <th  colspan="1" width="4%">地址</th>
          <th colspan="4" width="30%">{{case_handing_data_storage.address}}</th>
          <th  colspan="2" width="17%">联系电话</th>
          <th  colspan="1" width="34%">{{case_handing_data_storage.tel}}</th>
        </tr>
        <tr>
          <th  colspan="1" width="4%">姓名</th>
          <th colspan="1" width="4%">{{case_handing_data_storage.tir_person}}</th>
          <th  colspan="1" width="8%">性别</th>
          <th  colspan="1" width="8%">{{case_handing_data_storage.tir_gender}}</th>
          <th  colspan="1" width="6%">民族</th>
          <th colspan="1" width="8%">{{case_handing_data_storage.tir_nation}}</th>
          <th  colspan="1" width="9%">证件名称及号码</th>
          <th  colspan="1" width="38%">身份证号：{{case_handing_data_storage.tir_id_number}}<br>
            烟草专卖零售许可证号：{{case_handing_data_storage.retail_licence_code}}</th>
        </tr>
        <tr>
          <th  colspan="2" width="8%">住址</th>
          <th colspan="2" width="16%">{{case_handing_data_storage.tir_home}}</th>
          <th  colspan="3" width="23%">联系电话</th>
          <th  colspan="1" width="38%">{{case_handing_data_storage.telephone_number}}</th>
        </tr>
        <tr>
          <th colspan="1" width="15%">同案人</th>
          <th colspan="8">{{case_handing_data_storage.conspirator}}</th>
        </tr>
        <tr>
          <th colspan="1" width="15%">违法事实</th>
          <th colspan="8" align="left">
            &emsp;&emsp;{{case_handing_data_storage.year}}年{{case_handing_data_storage.month}}月{{case_handing_data_storage.day}}日,我局专卖执法人员在闽侯县进行市场检查,检查至{{case_handing_data_storage.mer_address}},
            依法对{{case_handing_data_storage.mer_name}}的当事人{{case_handing_data_storage.tir_person}}出示执法检查证件表明身份后，依法对该店铺进行检查，在该店卷烟柜台内发现一批未印有“由中国烟草总公司专卖”字样的外国卷烟，品种数量如下：
            {{case_handing_data_storage.ciga_data_all}}，总计{{case_handing_data_storage.tce_type_number_chinese}}品种{{case_handing_data_storage.tce_number_chinese}}（具体品种详见先行登记保存通知书，单号：{{case_handing_data_storage.evi_data_all}}）。
            由于当事人无法提供购买该批卷烟的合法有效证明，涉嫌{{case_handing_data_storage.illegal_behavior}}的行为。为了保全证据，我局专卖执法人员对现场执法情况拍照留证，经本局领导批准同意，我局专卖执法人员依法对上述卷烟予以先行登记保存，同时制作检查（勘验）笔录，交当事人{{case_handing_data_storage.tir_person}}核对无异议后签字确认。<br>
            &emsp;&emsp;本局于{{case_handing_data_storage.year}}年{{case_handing_data_storage.month}}月{{case_handing_data_storage.day}}日对该案进行立案调查。{{case_handing_data_storage.year1}}年{{case_handing_data_storage.month1}}月{{case_handing_data_storage.day1}}日
            {{case_handing_data_storage.tir_person}}前来我局接受询问调查。现查实：当事人为了牟取非法利益，{{case_handing_data_storage.cigarette_origin}}我局卷烟真伪鉴别小组，鉴定该批涉案卷烟{{case_handing_data_storage.evi_ciga_t}}、{{case_handing_data_storage.evi_ciga_f}}，
            当事人对鉴别结论没有异议。因当事人未供述购进价格，无法提供相关账册发票等证据进行印证,故我局核价小组根据福建省烟草专卖局公布的价格信息，以案发当日作为核价基准日进行计算，核定违法卷烟价值计人民币{{case_handing_data_storage.tce_amount_chinese}}(人民币{{case_handing_data_storage.tce_amount}}元)。<br>
            &emsp;&emsp;以上事实，有下列我局执法人员采集的与本案相关的证据为证：<br>
            &emsp;&emsp;证据（一）我局专卖执法人员制作的关于当事人经营场所《检查（勘验）笔录》一份，证明当事人从事违规卷烟销售及现场检查情况。<br>
            &emsp;&emsp;证据（二）我局专卖执法人员制作的《先行登记保存批准书》（{{case_handing_data_storage.evi_data_all_1}}），《先行登记保存通知书》（{{case_handing_data_storage.evi_data_all}}）各{{case_handing_data_storage.num1}}份，证明当事人经营场所查获涉案卷烟的品种、规格及数量。<br>
            &emsp;&emsp;证据（三）我局专卖执法人员现场拍摄的当事人经营场所及卷烟等《现场照片》一组，证明当事人经营场所现场及卷烟有关情况。<br>
            &emsp;&emsp;证据（四）当事人来接受调查时提供的当事人身份证复印件一份，烟草专卖零售许可证复印件一份，证明当事人从业资格、身份。<br>
            &emsp;&emsp;证据（五）当事人来接受调查时，我局执法人员制作并由当事人签字确认的《询问（调查）笔录》一份，证明当事人从事违规卷烟进销的具体情况。<br>
            &emsp;&emsp;证据（六）我局卷烟真伪鉴别小组对涉案卷烟进行鉴别，制作并由当事人签字确认的《卷烟产品鉴别书》一份，证明该批卷烟的真假性。<br>
            &emsp;&emsp;证据（七）我局卷烟价格核价小组制作涉案物品核价表一份，证明该批卷烟价格情况。<br>
            &emsp;&emsp;以上事实清楚，证据确凿，足以认定当事人{{case_handing_data_storage.tir_person}}的行为违反了{{case_handing_data_storage.violate_law}}的规定，构成了{{case_handing_data_storage.illegal_behavior}}的事实。
          </th>
        </tr>
        <tr>
          <th colspan="1" width="15%" height="50px" a>处罚依据</th>
          <th colspan="8" align="left">{{case_handing_data_storage.punish_basis}}</th>
        </tr>
        <tr>
          <th colspan="1" width="15%"><strong>承办人意见</strong></th>
          <th colspan="8" align="left">
            &emsp;&emsp;根据违法事实，当事人{{case_handing_data_storage.tir_person}}截止目前两年内累计犯案次数：{{case_handing_data_storage.crime_number}}次；在{{case_handing_data_storage.illegal_behavior}}行为中，违规数量：{{case_handing_data_storage.tce_number_chinese}},
            违规金额：{{case_handing_data_storage.tce_amount_chinese}}(人民币{{case_handing_data_storage.tce_amount}}元)；<br>
            &emsp;&emsp;对当事人{{case_handing_data_storage.tir_person}}{{case_handing_data_storage.illegal_behavior}}的行为按照{{case_handing_data_storage.discretionary_standard_name}}对应裁量标准，划分为{{case_handing_data_storage.discretionary_standard_grade}}
            ,{{case_handing_data_storage.discretionary_standard_punish}}<br>
            &emsp;&emsp;建议责令当事人停止并改正上述行为。并依据{{case_handing_data_storage.punish_basis}}的规定，决定处罚如下：<br>
            &emsp;&emsp;对当事人{{case_handing_data_storage.tir_person}}{{case_handing_data_storage.illegal_behavior}}的违法行为，{{case_handing_data_storage.penalty_decision}},对涉案违法卷烟{{case_handing_data_storage.tce_number_chinese}}，每条卷烟{{case_handing_data_storage.penalty_money}}元处以罚款，
            计人民币{{case_handing_data_storage.penalty_money_all}}元（人民币{{case_handing_data_storage.penalty_money_all_chinese}}元）<br>
            签字：{{case_handing_data_storage.undertaker1_name}}&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;执法证号：{{case_handing_data_storage.staff_license_no_1}}<br>
            &emsp;&emsp;&emsp;{{case_handing_data_storage.undertaker2_name}}&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;执法证号：{{case_handing_data_storage.staff_license_no_2}}
            <div align="right">
              {{case_handing_data_storage.year2}}年{{case_handing_data_storage.month2}}月{{case_handing_data_storage.day2}}日
            </div>
          </th>
        </tr>
        <tr>
          <th colspan="1" width="15%">承办部门意见</th>
          <th colspan="8" height="80px" valign="bottom">
            <div align="center" >
              部门负责人签字：
            </div><br>
            <div align="right" >
              年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日
            </div>
          </th>
        </tr>
        <tr>
          <th colspan="1" width="15%">法制员意见</th>
          <th colspan="8" height="80px" valign="bottom">
            <div align="center" >
              法制员签字：<br>
            </div><br>
            <div align="right" >
              年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日
            </div>
          </th>
        </tr>
        <tr>
          <th colspan="1" width="15%">领导审批意见</th>
          <th colspan="8" height="80px" valign="bottom">
            <div align="center" >
              领导签字：<br>
            </div>
            <br>
            <div align="right" >
              年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日
            </div>
          </th>
        </tr>
        <tr>
          <th colspan="1" width="15%" height="50px">备注</th>
          <th colspan="8"></th>
        </tr>
      </table>
      </body>
      </html>
      <template #footer>
				<span class="dialog-footer">
					<el-button @click="View_case_handing_Visible = false">取 消</el-button>
          <el-button type="primary" :icon="Printer" @click="create_case_handing_word">打 印</el-button>
				</span>
      </template>
    </el-dialog>

    <!--行政处罚事先告知书-->
    <el-dialog title="" v-model="Advance_notice_penalty_Visible" width="34%">
      <html>
      <head>
        <title>行政处罚事先告知书</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h2 align="center">
        行政处罚事先告知书
      </h2>
      <div align="center">
        <font size="3">侯烟处告[<strong>{{advance_notice_penalty_data.year}}</strong>]第 <strong>{{advance_notice_penalty_data.case_number}} </strong>号</font>
      </div>
      &nbsp;
      <div >
        <font size="3">
          <strong>案由：</strong>{{advance_notice_penalty_data.illegal_behavior}}
        </font>

      </div>

      <div >

        <font size="3">
          <strong>当事人：</strong>{{advance_notice_penalty_data.tir_person}}&nbsp;&nbsp;&nbsp;&nbsp;<strong>性别：</strong>{{advance_notice_penalty_data.tir_gender}}&nbsp;&nbsp;&nbsp;&nbsp;<strong>年龄：</strong>{{advance_notice_penalty_data.tir_age}}周岁
        </font>

      </div>
      <div >

        <font size="3">
          <strong> 户籍地址：</strong>{{advance_notice_penalty_data.mer_hometown}}
        </font>

      </div>
      <div >

        <font size="3">
          <strong>身份证号：</strong>{{advance_notice_penalty_data.tir_id_number}}
        </font>

      </div>
      <div >

        <font size="3">
          <strong>烟草专卖许可证号： </strong>{{advance_notice_penalty_data.retail_licence_code}}
        </font>

      </div>
      <div >

        <font size="3">
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;经查，你于{{advance_notice_penalty_data.year}}年{{advance_notice_penalty_data.month}}月{{advance_notice_penalty_data.day}}日，因{{advance_notice_penalty_data.illegal_behavior}}的行为，违反了{{advance_notice_penalty_data.violate_law}}，
          构成了{{advance_notice_penalty_data.illegal_behavior}}的事实，根据《中华人民共和国行政处罚法》第二十八条规定，现责令当事人改正上述行为。并根据{{advance_notice_penalty_data.punish_basis}}的规定，我局拟对你做出处罚如下：对当事人{{advance_notice_penalty_data.tir_person}}{{advance_notice_penalty_data.illegal_behavior}}的违法行为，{{advance_notice_penalty_data.bureau_penalty}}
        </font>

      </div>
      <div >

        <font size="3">
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;根据《中华人民共和国行政处罚法》第四十四条、第四十五条的规定，你享有陈述权和申辩权和要求听证的权利。如需要陈述和申辩，应在收到本告知书之日起三日内向本局提出。
          逾期未提出的，视为自动放弃此权利。请书写你的陈述和申辩意见，并签署姓名和日期。
        </font>

      </div>
      <br>
      <div align="right">
        <strong>
          <font size="3">
            福建省闽侯县烟草专卖局
          </font>
        </strong>
      </div>
      <div align="right">
        <strong>
          <font size="3">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 年&nbsp;&nbsp; 月&nbsp;&nbsp; 日
          </font>
        </strong>
      </div>

      <div >
        <strong>
          <font size="3">
            你有什么要陈述和申辩的吗？
          </font>
        </strong>
      </div>
      &nbsp;
      <div >
        <strong>
          <font size="3">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;当事人：______________________________________________________________________________________________
          </font>
        </strong>
      </div>
      <br>
      <div >
        <strong>
          <font size="3">
            当事人签字：
          </font>
        </strong>
      </div>
      <div align="right">
        <strong>
          <font size="3">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 年&nbsp;&nbsp; 月&nbsp;&nbsp; 日&nbsp;&nbsp; 时&nbsp;&nbsp; 分
          </font>
        </strong>
      </div>
      &nbsp;<br>
      <div >
        <strong>
          <font size="3">
            送达人：
          </font>
        </strong>
      </div>
      <div align="center">
        <strong>
          <font size="3">
            <el-image
                style="width: 100px; height: 30px;clear: right "
                :src="img_sign_data.img">
            </el-image>执法证号：{{advance_notice_penalty_data.staff_license_no1}}
          </font>
        </strong>
      </div>
      <div align="center">
        <strong>
          <font size="3">
            <el-image
                style="width: 100px; height: 30px;clear: right "
                :src="img_sign_data.img">
            </el-image>执法证号：{{advance_notice_penalty_data.staff_license_no2}}
          </font>
        </strong>
      </div>
      <br>
      <div align="right">
        <strong>
          <font size="3">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 年&nbsp;&nbsp; 月&nbsp;&nbsp; 日&nbsp;&nbsp; 时&nbsp;&nbsp; 分
          </font>
        </strong>
      </div>
      </body>
      </html>
      <template #footer>
				<span class="dialog-footer">
					<el-button @click="Advance_notice_penalty_Visible = false">取 消</el-button>
          <el-button :icon="Printer" type="primary" @click="create_advance_notice_penalty_word">打 印</el-button>
				</span>
      </template>
    </el-dialog>


    <!--    //查看归档文件视图-->
    <el-dialog title="查看行政处罚决定书相关文件" v-model="View_Punish_decision_Visible" width="34%">

      <div align="center">
        <el-button type="primary" @click="administrative_punish_decision">行政处罚决定书</el-button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <el-button type="primary" @click="punish_arrive_document_browse">送达文书</el-button>
      </div>
      <br>

    </el-dialog>

    <!--行政处罚事决定书-->
    <el-dialog title="" v-model="Punish_decision_Browse_Visible" width="50%">
      <html>
      <head>
        <title>行政处罚决定书</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h2 align="center">
        行政处罚决定书
      </h2>
      <div align="center">
        <font size="3">侯烟处告[{{administration_punish_decision_data.year}}]第 {{administration_punish_decision_data.case_number}}号</font>
      </div>
      &nbsp;
      <div >
        <font size="3">
          <strong>案由：</strong>{{administration_punish_decision_data.illegal_behavior}}
        </font>

      </div>

      <div >

        <font size="3">
          <strong> 当事人： </strong>{{administration_punish_decision_data.tir_person}}&nbsp;&nbsp;&nbsp;&nbsp; <strong>性别： </strong>{{administration_punish_decision_data.tir_gender}}&nbsp;&nbsp;&nbsp;&nbsp;<strong>年龄：</strong>{{administration_punish_decision_data.tir_age}}周岁
        </font>

      </div>
      <div >

        <font size="3">
          <strong>户籍地址：</strong>{{administration_punish_decision_data.mer_hometown}}
        </font>

      </div>
      <div >

        <font size="3">
          <strong>身份证号： </strong>{{administration_punish_decision_data.tir_id_number}}
        </font>

      </div>
      <div >

        <font size="3">
          <strong> 烟草专卖许可证号：</strong>{{administration_punish_decision_data.retail_licence_code}}
        </font>

      </div>
      <div >

        <font size="3">
          &emsp;&emsp;{{administration_punish_decision_data.year}}年{{administration_punish_decision_data.month}}月{{administration_punish_decision_data.day}}日,我局专卖执法人员在闽侯县进行市场检查,检查至{{administration_punish_decision_data.mer_address}},
          依法对{{administration_punish_decision_data.mer_name}}的当事人{{administration_punish_decision_data.tir_person}}出示执法检查证件表明身份后，依法对该店铺进行检查，在该店卷烟柜台内发现一批未印有“由中国烟草总公司专卖”字样的外国卷烟，品种数量如下：
          {{administration_punish_decision_data.ciga_data_all}}，总计{{administration_punish_decision_data.tce_type_number_chinese}}品种{{administration_punish_decision_data.tce_number_chinese}}（具体品种详见先行登记保存通知书，单号：{{administration_punish_decision_data.evi_data_all}}）。
          由于当事人无法提供购买该批卷烟的合法有效证明，涉嫌{{administration_punish_decision_data.illegal_behavior}}的行为。为了保全证据，我局专卖执法人员对现场执法情况拍照留证，经本局领导批准同意，我局专卖执法人员依法对上述卷烟予以先行登记保存，同时制作检查（勘验）笔录，交当事人{{administration_punish_decision_data.tir_person}}核对无异议后签字确认。<br>
          &emsp;&emsp;本局于{{administration_punish_decision_data.year}}年{{administration_punish_decision_data.month}}月{{administration_punish_decision_data.day}}日对该案进行立案调查。{{administration_punish_decision_data.year1}}年{{administration_punish_decision_data.month1}}月{{administration_punish_decision_data.day1}}日
          {{administration_punish_decision_data.tir_person}}前来我局接受询问调查。现查实：当事人为了牟取非法利益，{{administration_punish_decision_data.cigarette_origin}}我局卷烟真伪鉴别小组，鉴定该批涉案卷烟{{administration_punish_decision_data.evi_ciga_t}}、{{administration_punish_decision_data.evi_ciga_f}}，
          当事人对鉴别结论没有异议。因当事人未供述购进价格，无法提供相关账册发票等证据进行印证,故我局核价小组根据福建省烟草专卖局公布的价格信息，以案发当日作为核价基准日进行计算，核定违法卷烟价值计人民币{{administration_punish_decision_data.tce_amount_chinese}}(人民币{{administration_punish_decision_data.tce_amount}}元)。<br>
          &emsp;&emsp;以上事实，有下列我局执法人员采集的与本案相关的证据为证：<br>
          &emsp;&emsp;证据（一）我局专卖执法人员制作的关于当事人经营场所《检查（勘验）笔录》一份，证明当事人从事违规卷烟销售及现场检查情况。<br>
          &emsp;&emsp;证据（二）我局专卖执法人员制作的《先行登记保存批准书》（{{administration_punish_decision_data.evi_data_all_1}}），《先行登记保存通知书》（{{administration_punish_decision_data.evi_data_all}}）各{{administration_punish_decision_data.num1}}份，证明当事人经营场所查获涉案卷烟的品种、规格及数量。<br>
          &emsp;&emsp;证据（三）我局专卖执法人员现场拍摄的当事人经营场所及卷烟等《现场照片》一组，证明当事人经营场所现场及卷烟有关情况。<br>
          &emsp;&emsp;证据（四）当事人来接受调查时提供的当事人身份证复印件一份，烟草专卖零售许可证复印件一份，证明当事人从业资格、身份。<br>
          &emsp;&emsp;证据（五）当事人来接受调查时，我局执法人员制作并由当事人签字确认的《询问（调查）笔录》一份，证明当事人从事违规卷烟进销的具体情况。<br>
          &emsp;&emsp;证据（六）我局卷烟真伪鉴别小组对涉案卷烟进行鉴别，制作并由当事人签字确认的《卷烟产品鉴别书》一份，证明该批卷烟为真品卷烟。<br>
          &emsp;&emsp;证据（七）我局卷烟价格核价小组制作涉案物品核价表一份，证明该批卷烟价格情况。<br>
          &emsp;&emsp;上述证据来源合法，内容客观真实，且与本案相关联，证据之间能够相互印证，形成一条完整的证据链，足以认定本局查明的案件事实。<br>
          &emsp;&emsp;依照《中华人民共和国行政处罚法》第四十四条、第四十五条的规定，{{administration_punish_decision_data.year3}}年{{administration_punish_decision_data.month3}}月{{administration_punish_decision_data.day3}}日{{administration_punish_decision_data.hour3}}时{{administration_punish_decision_data.min3}}分
          ，我局向当事人{{administration_punish_decision_data.arrive_type}}《行政处罚事先告知书》(侯烟处告[{{administration_punish_decision_data.year}}]第{{administration_punish_decision_data.case_number}}号)。当事人于当天签收并明确表示放弃陈述权和申辩权。我局履行了作出行政处罚决定前事先告知的法定程序。<br>
          &emsp;&emsp;综上所述：本局认为当事人{{administration_punish_decision_data.tir_person}}的行为违反了{{administration_punish_decision_data.violate_law}}的规定，现责令当事人改正上述行为。并依据{{administration_punish_decision_data.punish_basis}}的规定，决定处罚如下：<br>
          &emsp;&emsp;对当事人{{administration_punish_decision_data.tir_person}}{{administration_punish_decision_data.illegal_behavior}}的违法行为，{{administration_punish_decision_data.finally_penalty}}<br>
          &emsp;&emsp;本决定书送达当事人时生效。所处罚款应在十五日内持本决定书通过闽侯县财政专户如数缴纳，逾期每日按罚款数额的3%加处罚款。<br>
          &emsp;&emsp;如不服本处罚决定，可在收到本处罚决定书之日起六十日内向福州市烟草专卖局申请复议，或于十五日内直接向有管辖权的人民法院提起行政诉讼，复议或诉讼期间不停止本决定的执行。逾期不申请复议，也不向人民法院起诉，又不履行本处罚决定的，我局将依法申请人民法院强制执行。
        </font>

      </div>

      <br>
      <div align="right">
        <strong>
          <font size="3">
            福建省闽侯县烟草专卖局
          </font>
        </strong>
      </div>
      <div align="right">
        <strong>
          <font size="3">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{administration_punish_decision_data.year4}}年{{administration_punish_decision_data.month4}}月{{administration_punish_decision_data.day4}}日
          </font>
        </strong>
      </div>


      </body>
      </html>
      <template #footer>
				<span class="dialog-footer">
					<el-button @click="Punish_decision_Browse_Visible = false">取 消</el-button>
                   <el-button :icon="Printer" type="primary" @click="create_penalty_decision_word">打 印</el-button>
				</span>
      </template>
    </el-dialog>


    <!--    行政处罚决定书送达回证-->
    <el-dialog title="" v-model="View_Punish_arrive_document_Visible" width="38%" >
      <html>
      <head>
        <title>送&nbsp;&nbsp;&nbsp;达&nbsp;&nbsp;&nbsp;回&nbsp;&nbsp;&nbsp;证</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h1 align="center">
        送达回证
      </h1>
      <div align="center">
        <font size="3">
          侯烟送[{{punish_arrive_document_data.year}}]第{{punish_arrive_document_data.case_number}}号
        </font>
      </div>
      <table border="1" style="border-collapse: collapse;" width="100%">
        <tr>
          <th height="50" width="14%">送达文书名称</th>
          <th  width="36%" >{{punish_arrive_document_data.arrive_document_name}}</th>
          <th width="14%">送达文书文号</th>
          <th width="36%">{{punish_arrive_document_data.arrive_number}}</th>
        </tr>
        <tr>
          <th height="35">受送达人</th>
          <th colspan="3">{{punish_arrive_document_data.addressee}}</th>
        </tr>
        <tr>
          <th height="50">送达地点</th>
          <th colspan="3">{{punish_arrive_document_data.arrive_place}}</th>
        </tr>
        <tr>
          <th height="35">送达方式</th>
          <th colspan="3">{{punish_arrive_document_data.service_mode}}</th>
        </tr>
        <tr>
          <th height="60">收件人签名或盖章</th>
          <th colspan="3">{{punish_arrive_document_data.receipt_signature}}</th>
        </tr>
        <tr>
          <th height="45">签收日期</th>
          <th colspan="3">{{punish_arrive_document_data.year1}}&nbsp;年&nbsp;{{punish_arrive_document_data.month1}}&nbsp;月&nbsp;{{punish_arrive_document_data.day1}}&nbsp;日&nbsp;
            {{punish_arrive_document_data.hour1}}&nbsp;时&nbsp;{{punish_arrive_document_data.min1}}&nbsp;分</th>
        </tr>
        <tr >
          <th height="55">代收人注明代收理由</th>
          <th colspan="3">{{punish_arrive_document_data.subsitute_reason}}</th>
        </tr>
        <tr>
          <th height="35">见证人签名或盖章</th>
          <th colspan="3">{{punish_arrive_document_data.witness_signature}}</th>
        </tr>
        <tr>
          <th height="35">送达人签名</th>
          <th colspan="3">{{punish_arrive_document_data.staff_name1}}&nbsp;:&nbsp;{{punish_arrive_document_data.staff_license_no1}}&nbsp;<br><br>
            {{punish_arrive_document_data.staff_name2}}&nbsp;:&nbsp;{{punish_arrive_document_data.staff_license_no2}}</th>
        </tr>
        <tr>
          <th height="35">送达日期</th>
          <th colspan="3">{{punish_arrive_document_data.year2}}&nbsp;年&nbsp;{{punish_arrive_document_data.month2}}&nbsp;月&nbsp;{{punish_arrive_document_data.day2}}&nbsp;日&nbsp;
            {{punish_arrive_document_data.hour2}}&nbsp;时&nbsp;{{punish_arrive_document_data.min2}}&nbsp;分</th>
        </tr>
        <tr>
          <th height="70">备&nbsp;&nbsp;&nbsp;&nbsp;注</th>
          <th colspan="3">{{punish_arrive_document_data.remarks}}</th>
        </tr>


      </table>
      </body>
      </html>
      <template #footer>
				<span class="dialog-footer">
                  <el-button @click="View_Punish_arrive_document_Visible=false" >取 消</el-button>
          <el-button type="primary" :icon="Printer" @click="punish_arrive_document_print">打 印</el-button>
				</span>
      </template>
    </el-dialog>

    <!--    //查看归档文件视图-->
    <el-dialog title="查看行政罚款收据相关文件" v-model="View_administrative_fine_Visible" width="34%">

      <div align="center">
        <el-button type="primary" @click="administrative_fine">行政罚款收据</el-button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <el-button type="primary" @click="return_item_browse">涉案物品返还清单</el-button>
      </div>
      <br>

    </el-dialog>
    <!--    行政罚款收据视图-->
    <el-dialog title="" v-model="View_administrative_fine_receipt_Visible" width="34%">
      <html>
      <head>
        <title>行政罚款收据</title>
      </head>
      <body>
      <div v-for="item in  case_img_Data">
        <h1 align="center">
          {{item.type}}
        </h1>
        <table border="1"  style="border-collapse: collapse;" width="100%" >
          <tr >
            <th width="100%"  align="center" height="500px">
              <div class="table-td">
                <el-image

                        :src="item.img"
                        :z-index="10"
                        :preview-src-list="[item.img]"
                        preview-teleported>
                </el-image>
              </div>


            </th>
          </tr>
          <tr>
            <th colspan="2" align="left">
              说明事项：当事人{{administrative_fine_data_storage.tir_person}}因{{administrative_fine_data_storage.illegal_behavior}}被我局查处，我局于
              {{administrative_fine_data_storage.year1}}年{{administrative_fine_data_storage.month1}}月{{administrative_fine_data_storage.day1}}日作出处以罚款计人民币{{administrative_fine_data_storage.administrative_fine_chinese}}
              (￥{{administrative_fine_data_storage.administrative_fine}}元)的行政处罚，，该收据为当事人{{administrative_fine_data_storage.year2}}年{{administrative_fine_data_storage.month2}}月{{administrative_fine_data_storage.day2}}日缴纳罚款的回单。<br>
            </th>
          </tr>

        </table>
      </div>

      </body>
      </html>
    </el-dialog>
    <!--涉案物品返还清单-->
    <el-dialog title="" v-model="Return_item_Browse_Visible" width="42%">
      <html>
      <head>
        <title>涉案物品返还清单</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h1 align="center">
        涉案物品返还清单
      </h1>
      <table border="1" style="border-collapse: collapse;" width="100%" >
        <tr>
          <td align="center" width="20%" height="40px"><strong>品种</strong></td>
          <td width="25%" align="center" height="30px"><strong>条形码</strong></td>
          <td width="20%" align="center" height="30px"><strong>规格型号</strong></td>
          <td width="20%" align="center" height="30px"><strong>数量(条)</strong></td>
          <td width="15%" align="center" height="30px"><strong>备注</strong></td>
        </tr>
      </table>
      <div v-for="item in evidence_ciga_Data1">
        <table border="1" style="border-collapse: collapse;" width="100%" >
          <tr>
            <td width="20%" align="center" height="30px"><strong >{{item.ciga_variety}}</strong></td>
            <td width="25%" align="center" height="30px"><strong>{{item.barcode}}</strong></td>
            <td width="20%" align="center" height="30px"><strong>{{item.ciga_model}}</strong></td>
            <td width="20%" align="center" height="30px"><strong>{{item.evi_number}}</strong></td>
            <td width="15%" align="center" height="30px">/</td>
          </tr>
        </table>
      </div>

      <table border="1" style="border-collapse: collapse;" width="100%" height="40px">
        <tr>
          <th align="center" width="20%" >
            <span style="text-align: center">合计</span>
          </th>
          <th align="center" width="25%">
            <span style="text-align: center">/</span>
          </th>
          <th align="center" width="20%">
            <span style="text-align: center">/</span>
          </th>
          <th align="center" width="20%">
            <span style="text-align: center">{{return_article_data_storage.ciga_number}}</span>
          </th>
          <th align="center" width="15%">
            <span style="text-align: center">/</span>
          </th>
        </tr>

      </table>
      <table border="1" style="border-collapse: collapse;" width="100%" height="40px">
        <tr>
          <th align="left" width="25%" colspan="5" height="50px">
            <span >&nbsp;&nbsp;&nbsp;&nbsp;鉴别检验样品损耗费合计<u>{{return_article_data_storage.identificate_loss}}</u>元（大写<u>{{return_article_data_storage.identificate_loss_chinese}}</u>）。</span>
          </th>
        </tr>
      </table>
      <table border="1" style="border-collapse: collapse;" width="100%" >
        <tr>
          <td align="left" width="50%" colspan="5" height="200px" valign="top">
            <br>
            <div><strong><font size="4">以上物品已收到。</font></strong></div>
            <br><br>
            <div><strong><font size="4">接收单位（印章）：</font></strong></div>
            <br><br>
            <div><strong><font size="4">接收人：</font></strong></div>
            <br><br>
            <div align="right"><strong><font size="4">&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;日&nbsp;&nbsp;&nbsp;&nbsp;</font></strong></div>
          </td>
          <td align="left" width="50%" colspan="5" height="200px" valign="top">
            <br>
            <div><strong><font size="4">返还单位（印章）：</font></strong></div>
            <br><br>
            <div><strong><font size="4">返还人：
            </font></strong></div>
            <br>
            <div align="center"><strong><font size="4">
              执法证号：{{return_article_data_storage.staff_license_1}}</font></strong></div><br><br>
            <div align="center"><strong><font size="4">
              执法证号：{{return_article_data_storage.staff_license_2}}</font></strong></div><br><br>

            <div align="right"><strong><font size="4">&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;日&nbsp;&nbsp;&nbsp;&nbsp;</font></strong></div>
          </td>
        </tr>
      </table>
      </body>

      </html>
      <template #footer>
        <span class="dialog-footer">
            <el-button @click="Return_item_Browse_Visible=false" >取 消</el-button>
                <el-button type="primary" :icon="Printer"  @click="return_item_word" >
                打印
              </el-button>
        </span>
      </template>
    </el-dialog>


    <!--    //查看结案报告表-->
    <el-dialog title="" v-model="View_case_final_report_Visible" width="50%">
      <html>
      <head>
        <title>结案报告表</title>
      </head>
      <body>
      <h1 align="center">
        福建省闽侯县烟草专卖局
      </h1>
      <h1 align="center">
        结案报告表
      </h1>


      <table border="1" style="border-collapse: collapse;" width="100%" >
        <tr>
          <th colspan="1" width="25%" height="30px">案由</th>
          <th colspan="3" align="left">{{case_final_report_data_storage.case_cause}}</th>
        </tr>
        <tr>
          <th width="25%" height="30px">发案时间</th>
          <th width="25%">{{case_final_report_data_storage.case_time}}</th>
          <th width="25%">调查人</th>
          <th width="25%">{{case_final_report_data_storage.investigators}}</th>
        </tr>
        <tr>
          <th width="25%" height="30px">当事人</th>
          <th width="25%">{{case_final_report_data_storage.tir_person}}</th>
          <th width="25%">地址</th>
          <th width="25%">{{case_final_report_data_storage.final_address}}</th>
        </tr>

        <tr>
          <th>案情摘要</th>
          <th colspan="3" align="left">
            &emsp;&emsp;{{case_final_report_data_storage.year}}年{{case_final_report_data_storage.month}}月{{case_final_report_data_storage.day}}日,我局专卖执法人员在闽侯县进行市场检查,检查至{{case_final_report_data_storage.mer_address}},
            依法对{{case_final_report_data_storage.mer_name}}的当事人{{case_final_report_data_storage.tir_person}}出示执法检查证件表明身份后，依法对该店铺进行检查，在该店卷烟柜台内发现一批未印有“由中国烟草总公司专卖”字样的外国卷烟，品种数量如下：
            {{case_final_report_data_storage.ciga_data_all}}，总计{{case_final_report_data_storage.tce_type_number_chinese}}品种{{case_final_report_data_storage.tce_number_chinese}}（具体品种详见先行登记保存通知书，单号：{{case_final_report_data_storage.evi_data_all}}）。
            由于当事人无法提供购买该批卷烟的合法有效证明，涉嫌{{case_final_report_data_storage.illegal_behavior}}的行为。为了保全证据，我局专卖执法人员对现场执法情况拍照留证，经本局领导批准同意，我局专卖执法人员依法对上述卷烟予以先行登记保存，同时制作检查（勘验）笔录，交当事人{{case_final_report_data_storage.tir_person}}核对无异议后签字确认。<br>
            &emsp;&emsp;本局于{{case_final_report_data_storage.year}}年{{case_final_report_data_storage.month}}月{{case_final_report_data_storage.day}}日对该案进行立案调查。{{case_final_report_data_storage.year1}}年{{case_final_report_data_storage.month1}}月{{case_final_report_data_storage.day1}}日
            {{case_final_report_data_storage.tir_person}}前来我局接受询问调查。现查实：当事人为了牟取非法利益，{{case_final_report_data_storage.cigarette_origin}}我局卷烟真伪鉴别小组，鉴定该批涉案卷烟{{case_final_report_data_storage.evi_ciga_t}}、{{case_final_report_data_storage.evi_ciga_f}}，
            当事人对鉴别结论没有异议。因当事人未供述购进价格，无法提供相关账册发票等证据进行印证,故我局核价小组根据福建省烟草专卖局公布的价格信息，以案发当日作为核价基准日进行计算，核定违法卷烟价值计人民币{{case_final_report_data_storage.tce_amount_chinese}}(人民币{{case_final_report_data_storage.tce_amount}}元)。<br>
          </th>
        </tr>
        <tr>
          <th>处罚决定</th>
          <th colspan="3" align="left">

            &emsp;&emsp;本局认为当事人{{case_final_report_data_storage.tir_person}}的行为违反了{{case_final_report_data_storage.violate_law}}的规定，现责令当事人改正上述行为。并依据{{case_final_report_data_storage.punish_basis}}的规定，决定处罚如下：<br>
            &emsp;&emsp;对当事人{{case_final_report_data_storage.tir_person}}{{case_final_report_data_storage.illegal_behavior}}的违法行为，{{case_final_report_data_storage.finally_penalty}}<br>
            &emsp;&emsp;{{case_final_report_data_storage.return_ciga}}
          </th>
        </tr>
        <tr>
          <th>执行情况</th>
          <th colspan="3" align="left">
            处罚决定已执行，情况如下：<br>
            &emsp;&emsp;{{case_final_report_data_storage.year4}}年{{case_final_report_data_storage.month4}}月{{case_final_report_data_storage.day4}}日，我局已将处罚决定书送达当事人；<br>
            &emsp;&emsp;{{case_final_report_data_storage.year5}}年{{case_final_report_data_storage.month5}}月{{case_final_report_data_storage.day5}}日，当事人已将罚款缴清。<br>
            &emsp;&emsp;{{case_final_report_data_storage.return_ciga}}
          </th>
        </tr>
        <tr>
          <th>承 办 人<br>结案理由</th>
          <th colspan="3" align="left">
            &emsp;&emsp;鉴于处罚决定已执行完毕，且当事人在收到行政处罚决定书之日起十五日内未提出行政诉讼，六十日内未提出行政复议，建议结案，请领导审批。
            <br><br>
            <div align="center">签名：</div><br>

            <div align="right">日期：&emsp;年&emsp;月&emsp;日</div>
          </th>
        </tr>
        <tr>
          <th>部门意见</th>
          <th colspan="3" align="left">
            同意结案。
            <br><br>
            <div align="center">签名：</div><br>

            <div align="right">日期：&emsp;年&emsp;月&emsp;日</div>
          </th>
        </tr>
        <tr>
          <th>领导意见</th>
          <th colspan="3" align="left">
            同意结案。
            <br><br>
            <div align="center">签名：</div><br>

            <div align="right">日期：&emsp;年&emsp;月&emsp;日</div>
          </th>
        </tr>
        <tr>
          <th>备注</th>
          <th colspan="3" align="left">
            <br><br></th>
        </tr>
      </table>
      </body>
      </html>
      <template #footer>
				<span class="dialog-footer">
                    <el-button @click="View_case_final_report_Visible = false">取 消</el-button>
          <el-button type="primary" :icon="Printer" @click="create_final_report_word">打 印</el-button>
				</span>
      </template>
    </el-dialog>


    <!--    //查看归档文件视图-->
    <el-dialog title="查看归档文件" v-model="View_archive_file_Visible" width="35%">

      <div align="center">

        <el-button type="primary" @click="enforce_official_browse">案件相关执法人员执法证复印件</el-button>
        <el-button type="primary" @click="qualification_certificate_browse">卷烟鉴别小组成员资质证书复印件</el-button>
      </div>
    </el-dialog>

    <el-dialog title="查看卷烟鉴别相关文件" v-model="View_cigarette_identify_Visible" width="34%">
      <div align="center">
        <el-button type="primary" @click="cigarette_identification_certificate">卷烟鉴别书</el-button>
        <el-button type="primary" @click="cigarette_identification_sampling">卷烟产品鉴别检验抽样单</el-button><br><br>
        <el-button type="primary" @click="cigarette_identification_entrust">卷烟产品鉴别检验委托协议书</el-button>
        <el-button type="primary" @click="cigarette_inspection_result">卷烟送检结果</el-button>
      </div>
      <br>

    </el-dialog>


    <!--    当事人身份证视图-->
    <el-dialog title="" v-model="View_identity_card_Visible" width="34%">
      <html>
      <head>
        <title>当事人身份证</title>
      </head>
      <body>
      <div v-for="item in  case_img_Data">
        <h1 align="center">
          {{item.type}}
        </h1>
        <table border="1"  style="border-collapse: collapse;" width="100%" >
          <tr >
            <th width="100%"  align="center" height="500px">

              <el-image
                      class="table-td-thumb"
                      :src="item.img"
                      :z-index="10"
                      :preview-src-list="[item.img]"
                      preview-teleported>
              </el-image>

            </th>
          </tr>
          <!--                <tr>-->
          <!--                    <th colspan="2" align="left">-->
          <!--                        说明事项：当事人{{administrative_fine_data_storage.tir_person}}因{{administrative_fine_data_storage.illegal_behavior}}被我局查处，我局于-->
          <!--                        {{administrative_fine_data_storage.year1}}年{{administrative_fine_data_storage.month1}}月{{administrative_fine_data_storage.day1}}日作出处以罚款计人民币{{administrative_fine_data_storage.administrative_fine_chinese}}-->
          <!--                        (￥{{administrative_fine_data_storage.administrative_fine}}元)的行政处罚，，该收据为当事人{{administrative_fine_data_storage.year2}}年{{administrative_fine_data_storage.month2}}月{{administrative_fine_data_storage.day2}}日缴纳罚款的回单。<br>-->
          <!--                    </th>-->
          <!--                </tr>-->

        </table>
      </div>

      </body>
      </html>
    </el-dialog>

    <!--    卷烟鉴别小组成员资质证书复印件视图-->
    <el-dialog title="" v-model="View_qualification_certificate_Visible" width="34%">
      <html>
      <head>
        <title>卷烟鉴别小组成员资质证书复印件</title>
      </head>
      <body>
      <div v-for="item in  case_img_Data">
        <h1 align="center">
          {{item.type}}
        </h1>
        <table border="1"  style="border-collapse: collapse;" width="100%" >
          <tr >
            <th width="100%"  align="center" height="500px">
              <el-image
                      class="table-td-thumb"
                      :src="item.img"
                      :z-index="10"
                      :preview-src-list="[item.img]"
                      preview-teleported>
              </el-image>

            </th>
          </tr>
          <!--                <tr>-->
          <!--                    <th colspan="2" align="left">-->
          <!--                        说明事项：当事人{{administrative_fine_data_storage.tir_person}}因{{administrative_fine_data_storage.illegal_behavior}}被我局查处，我局于-->
          <!--                        {{administrative_fine_data_storage.year1}}年{{administrative_fine_data_storage.month1}}月{{administrative_fine_data_storage.day1}}日作出处以罚款计人民币{{administrative_fine_data_storage.administrative_fine_chinese}}-->
          <!--                        (￥{{administrative_fine_data_storage.administrative_fine}}元)的行政处罚，该收据为当事人{{administrative_fine_data_storage.year2}}年{{administrative_fine_data_storage.month2}}月{{administrative_fine_data_storage.day2}}日缴纳罚款的回单。<br>-->
          <!--                    </th>-->
          <!--                </tr>-->

        </table>
      </div>

      </body>
      </html>
    </el-dialog>

    <el-dialog  v-model="Scene_Inquiry_record_Visible" width="50%">
      <html>
      <head>
        <title>现场笔录</title>
      </head>
      <body>
      <h1 align="center">
        福建省福州市闽侯县烟草专卖局
      </h1>
      <h2 align="center">
        现场勘验笔录现场询问记录
      </h2>
      <br>
      <div >
        <font size="3">
          <b>询问时间：</b>{{inquiry_record_browse_data.date_of_filing}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        </font>
      </div>
      <div >
        <font size="3">
          <b>询问地点：</b>{{inquiry_record_browse_data.tce_address}}
        </font>
      </div>
      <div >
        <font size="3" >
          <b> 询问人：</b>{{inquiry_record_browse_data.user_name_1}}&nbsp;&nbsp;{{inquiry_record_browse_data.user_name_2}} &nbsp;&nbsp;  记录人：{{inquiry_record_browse_data.recorder}}
        </font>
      </div>
      <div >
        <font size="3">
          <b> 被询问人：</b>{{inquiry_record_browse_data.mer_person}}  &nbsp;&nbsp;性别：{{inquiry_record_browse_data.gender}}&nbsp;&nbsp;民族：{{inquiry_record_browse_data.nation}}
        </font>
      </div>
      <div >
        <font size="3">
          <b> 证件类型及号码：</b>{{inquiry_record_browse_data.identity_card}}(身份证)&nbsp;&nbsp;<b>住址：</b>{{inquiry_record_browse_data.family_address}}
        </font>
      </div>
      <div >
        <font size="3">
          <b>经营地址：</b>{{inquiry_record_browse_data.business_address}} &nbsp;&nbsp; <b>联系电话：</b>{{inquiry_record_browse_data.telephone_number}}
        </font>
      </div>
      <div >
        <font size="3">
          <b>执法人员表明身份、出示证件及被询问人确认的记录：</b>{{inquiry_record_browse_data.confirm_record}}
        </font>
      </div>
      <div >
        <font size="3">
          <b>告知陈述（申辩）和申请回避的权利：</b>{{inquiry_record_browse_data.inform_right}}
        </font>
      </div>
      <div >
        <font size="3">
          <b>被询问人：</b>{{inquiry_record_browse_data.tir_person_answer}}
        </font>
      </div>
      <div v-for="item in inquiry_record_browse_data.question_answer_list">
        <font size="3">
          <b>问：</b>{{item.question}}&nbsp;&nbsp;&nbsp;</font><br>
        <font size="3">
          <b>答：</b>{{item.answer}}&nbsp;&nbsp;&nbsp;
        </font>

      </div>

      <div >
        <font size="3">
          <b>问：</b>{{inquiry_record_browse_data.end_confirm}}
        </font>
      </div>
      <div >
        <font size="3">
          <b> 以上笔录经被询问人核对无误。</b>
        </font>
      </div>
      <div >
        <font size="3">
          被询问人（签名）：<b><u>______________________________________________</u></b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;日
        </font>
      </div>
      <div >
        <font size="3">
          询&nbsp;问&nbsp;&nbsp;&nbsp;人（签名）：<b><u>__________________</u></b>执法证号:<b><u>____________________{{}} </u></b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;日
        </font>
      </div>
      <div >
        <font size="3">
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b><u>__________________</u></b>执法证号:<b><u>____________________{{}} </u></b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;日
        </font>
      </div>
      </body>

      </html>
      <template #footer>
        <span class="dialog-footer">
            <el-button @click="Scene_Inquiry_record_Visible=false" >取 消</el-button>
                <el-button type="primary" :icon="Printer"  @click="inquiry_record_print" >
                打 印
              </el-button>
        </span>
      </template>
    </el-dialog>

    <!--卷烟产品鉴别检验抽样单-->
    <el-dialog  v-model="View_identify_Sample_Visible" width="50%">
      <html>
      <head>
        <title>卷烟产品鉴别检验抽样单</title>
      </head>
      <body>
      <h1 align="center">
        卷烟产品鉴别检验抽样单
      </h1>
      <h2 align="right">
        JSJL-122
      </h2>
      <br>
      <table border="1"  style="border-collapse: collapse;" width="100%">
        <tr >
          <th colspan="1" width="25%" height="30px">当事人</th>
          <th colspan="1" width="25%" height="30px">{{cigarette_identifify_sample_data.tir_person}}</th>
          <th colspan="1" width="25%" height="30px">当事人电话</th>
          <th colspan="1" width="25%" height="30px">{{cigarette_identifify_sample_data.tir_telephone}}</th>
        </tr>
        <tr>
          <th colspan="1" height="30px">当事人地址</th>
          <th colspan="3" height="30px">{{cigarette_identifify_sample_data.tir_address}}</th>
        </tr>
        <tr>
          <th colspan="1" height="30px">抽样单位</th>
          <th colspan="1" height="30px">{{cigarette_identifify_sample_data.sampling_unit}}</th>
          <th colspan="1" height="30px">抽样人</th>
          <th colspan="1" height="30px">{{cigarette_identifify_sample_data.sampling_person1_name}}、{{cigarette_identifify_sample_data.sampling_person2_name}}</th>
        </tr>
        <tr>
          <th colspan="1" height="30px">抽样地点</th>
          <th colspan="1" height="30px">{{cigarette_identifify_sample_data.sampling_address}}</th>
          <th colspan="1" height="30px">抽样时间</th>
          <th colspan="1" height="30px">{{cigarette_identifify_sample_data.year}}年{{cigarette_identifify_sample_data.month}}月{{cigarette_identifify_sample_data.day}}日</th>
        </tr>
        <tr>
          <th colspan="1" height="30px">委托人</th>
          <th colspan="1" height="30px">{{cigarette_identifify_sample_data.client}}</th>
          <th colspan="1" height="30px">电话</th>
          <th colspan="1" height="30px">{{cigarette_identifify_sample_data.telephone}}</th>
        </tr>
        <tr>
          <th colspan="1" height="30px">传真</th>
          <th colspan="1" height="30px">{{cigarette_identifify_sample_data.portraiture}}</th>
          <th colspan="1" height="30px">邮编</th>
          <th colspan="1" height="30px">{{cigarette_identifify_sample_data.postal_code}}</th>
        </tr>
        <tr>
          <th colspan="1" height="30px">委托方地址</th>
          <th colspan="3" height="30px">{{cigarette_identifify_sample_data.client_address}}</th>
        </tr>
      </table>
      <table border="1" style="border-collapse: collapse;" width="100%" >
        <tr>
          <td align="center" width="14%" height="40px">样品名称</td>
          <td width="16%" align="center" height="30px">标注生产<br>单位(产地)</td>
          <td width="16%" align="center" height="30px">条盒<br>条形码</td>
          <td width="12%" align="center" height="30px">包装形式</td>
          <td width="12%" align="center" height="30px">规格</td>
          <td width="8%" align="center" height="30px">样品<br>基数</td>
          <td width="8%" align="center" height="30px">抽样<br>基数</td>
          <td width="12%" align="center" height="30px">样品数量</td>
        </tr>
      </table>
      <div v-for="item in sample_ciga_Data">
        <table border="1" style="border-collapse: collapse;" width="100%" >
          <tr >
            <td align="center"  width="14%" height="40px">{{item.name}}</td>
            <td width="16%" align="center" height="30px">{{item.s_address}}</td>
            <td width="16%" align="center" height="30px">{{item.barcode}}</td>
            <td width="12%" align="center" height="30px">{{item.package_form}}</td>
            <td width="12%" align="center" height="30px">{{item.model}}</td>
            <td width="8%" align="center" height="30px">{{item.base}}</td>
            <td width="8%" align="center" height="30px">1</td>
            <td width="12%" align="center" height="30px">1</td>
          </tr>
        </table>
      </div>
      </body>
      </html>
      <template #footer>
				<span class="dialog-footer">
					<el-button @click="View_identify_Sample_Visible = false">取 消</el-button>
          <el-button type="primary" @click="create_sample_message">打 印</el-button>
				</span>
      </template>
    </el-dialog>


    <!--卷烟产品鉴别检验委托协议书-->
    <el-dialog  v-model="View_identify_Sample_Entrust_Visible" width="55%">
      <html>
      <head>
        <title>卷烟产品鉴别检验抽样单</title>
      </head>
      <body>
      <h1 align="center">
        福建省烟草质量监督检测站
      </h1>
      <h1 align="center">
        卷烟产品鉴别检验委托协议书
      </h1>
      <div align="right">
        <font color="red">GLJL-00503</font>
      </div>
      <br>
      <table border="1"  style="border-collapse: collapse;" width="100%">
        <tr>
          <th rowspan="3" colspan="1" width="5.5%" height="30px">委托单位信息</th>
          <th  colspan="1" width="4%" height="30px">单位名称</th>
          <th colspan="6" width="30%" height="30px" >{{cigarette_identifify_sample_data.unit_name}}</th>
        </tr>
        <tr>
          <th colspan="1" height="30px">地址</th>
          <th colspan="3" height="30px" width="15%">{{cigarette_identifify_sample_data.client_address}}</th>
          <th colspan="1" height="30px">邮&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;编</th>
          <th colspan="2" height="30px">{{cigarette_identifify_sample_data.postal_code}}</th>
        </tr>
        <tr>
          <th colspan="1" height="30px">联系人</th>
          <th colspan="1" height="30px" width="5%">{{cigarette_identifify_sample_data.contact_person_name}}</th>
          <th colspan="1" height="30px" width="8%">联系电话</th>
          <th colspan="1" height="30px" width="8%">{{cigarette_identifify_sample_data.telephone}}</th>
          <th colspan="1" height="30px">传&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;真</th>
          <th colspan="2" height="30px">{{cigarette_identifify_sample_data.portraiture}}</th>
        </tr>
        <tr>
          <th colspan="1" height="30px">抽样时间</th>
          <th colspan="1" height="30px">{{cigarette_identifify_sample_data.year}}.{{cigarette_identifify_sample_data.month}}.{{cigarette_identifify_sample_data.day}}</th>
          <th colspan="1" height="30px" width="4%">抽样人</th>
          <th colspan="1" height="30px" width="8%">{{cigarette_identifify_sample_data.sampling_person1_name}}、{{cigarette_identifify_sample_data.sampling_person2_name}}</th>
          <th colspan="1" height="30px">采样方式</th>
          <td colspan="1" height="30px" width="5%" align="center">□送样&nbsp;□寄样</td>
          <th colspan="1" height="30px">经办人</th>
          <th colspan="1" height="30px" width="5%">{{cigarette_identifify_sample_data.handle_person_name}}</th>
        </tr>
        <tr>
          <th colspan="1" height="30px">查获单位</th>
          <th colspan="3" height="30px">{{cigarette_identifify_sample_data.sampling_unit}}</th>
          <th colspan="1" height="30px">查获地点</th>
          <th colspan="4" height="30px" width="15%">{{cigarette_identifify_sample_data.tir_address}}</th>
        </tr>
        <tr>
          <th colspan="1" height="30px">客户</th>
          <th colspan="1" height="30px">检测方法</th>
          <td colspan="6" height="30px">《烟草专卖品鉴别检验管理办法》【国烟科[2014]285号】；<br>《卷烟产品鉴别检验规程》；<br>GB5606.4-2005 卷烟 第4部分 感官技术要求</td>
        </tr>
        <tr>
          <th colspan="1" height="30px">要求</th>
          <th colspan="1" height="30px">交付时间</th>
          <th colspan="6" height="30px">一般在7个工作日内交付检验报告，特殊情况由双方协商解决</th>
        </tr>
        <tr>
          <th colspan="1" height="30px">信息</th>
          <th colspan="1" height="30px" width="5.5%">检后样品处置</th>
          <th colspan="6" height="30px">□退样&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;□不退样</th>
        </tr>
      </table>
      <table border="1" style="border-collapse: collapse;" width="100%" >
        <tr>
          <td width="12.9%" align="center" height="30px">样品编号</td>
          <td align="center" width="14%" height="40px">样品名称</td>
          <td width="12%" align="center" height="30px">包装形式</td>
          <td width="12%" align="center" height="30px">规格<br>(mm)</td>
          <td width="16%" align="center" height="30px">标注生产单位<br>(产地)</td>
          <td width="16%" align="center" height="30px">条盒<br>条形码</td>
          <td width="8%" align="center" height="30px">样品数量</td>
          <td width="12%" align="center" height="30px">查获数量</td>

        </tr>
      </table>
      <div v-for="item in sample_ciga_Data">
        <table border="1" style="border-collapse: collapse;" width="100%" >
          <tr >
            <td width="12.9%" align="center" height="30px"></td>
            <td align="center"  width="14%" height="40px">{{item.name}}</td>
            <td width="12%" align="center" height="30px">{{item.package_form}}</td>
            <td width="12%" align="center" height="30px">{{item.model}}</td>
            <td width="16%" align="center" height="30px">{{item.s_address}}</td>
            <td width="16%" align="center" height="30px">{{item.barcode}}</td>
            <td width="8%" align="center" height="30px">1</td>
            <td width="12%" align="center" height="30px">{{item.base}}</td>
          </tr>
        </table>
        <table border="1"  style="border-collapse: collapse;" width="100%">
          <tr>
            <th colspan="1" width="12.9%" height="30px">样品状态描述</th>
            <th colspan="7" height="60px">{{cigarette_identifify_sample_data.sample_state_describe}}</th>
          </tr>
          <tr>
            <th rowspan="2"  colspan="1" width="11.5%">检测站信息</th>
            <th  colspan="1" width="10%" height="40px">单位名称</th>
            <th colspan="3">{{cigarette_identifify_sample_data.inspection_station_name}}</th>
            <th  colspan="1" width="17%">地址</th>
            <th colspan="2" >{{cigarette_identifify_sample_data.inspection_station_address}}</th>
          </tr>
          <tr>
            <th  colspan="1" height="40px">联系电话</th>
            <th colspan="2" width="25%">{{cigarette_identifify_sample_data.inspection_station_telephone}}</th>
            <th  colspan="1" width="5%">传真</th>
            <th colspan="1" width="17%">{{cigarette_identifify_sample_data.inspection_station_portraiture}}</th>
            <th  colspan="1" width="15%">邮&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;编</th>
            <th colspan="1" >{{cigarette_identifify_sample_data.inspection_station_postcode}}</th>
          </tr>
          <tr>
            <th colspan="1" width="12.9%" height="30px">备注</th>
            <th colspan="7" height="60px">{{cigarette_identifify_sample_data.remarks}}</th>
          </tr>
        </table>
      </div>
      </body>
      </html>
      <template #footer>
				<span class="dialog-footer">
					<el-button @click="View_identify_Sample_Entrust_Visible = false">取 消</el-button>
          <el-button type="primary" @click="create_sample_entrust_message">打 印</el-button>
				</span>
      </template>
    </el-dialog>

    <el-dialog title="查看卷烟送检结果" v-model="View_cigarette_Inspection_result_Visible" width="36%">
      <div class="table-td" align="center">
        <el-image
                class="table-td-thumb"
                :src="img_form_data.img"
                :z-index="10"
                :preview-src-list="[img_form_data.img]"
                preview-teleported
        >
        </el-image>
      </div>
      <template #footer>
				<span class="dialog-footer">
					<el-button @click="View_cigarette_Inspection_result_Visible = false">取 消</el-button>
					<el-button type="primary" @click="View_cigarette_Inspection_result_Visible = false">确 定</el-button>
				</span>
      </template>
    </el-dialog>

    <!--    案件相关执法人员执法证复印件视图-->
    <el-dialog title="" v-model="View_enforce_official_Visible" width="34%">
      <html>
      <head>
        <title>案件相关执法人员执法证复印件</title>
      </head>
      <body>
      <div v-for="item in  case_img_Data">
        <h1 align="center">
          {{item.type}}
        </h1>
        <table border="1"  style="border-collapse: collapse;" width="100%" >
          <tr >
            <th width="100%"  align="center" height="500px">
              <el-image
                      class="table-td-thumb"
                      :src="item.img"
                      :z-index="10"
                      :preview-src-list="[item.img]"
                      preview-teleported>
              </el-image>

            </th>
          </tr>
          <!--                <tr>-->
          <!--                    <th colspan="2" align="left">-->
          <!--                        说明事项：当事人{{administrative_fine_data_storage.tir_person}}因{{administrative_fine_data_storage.illegal_behavior}}被我局查处，我局于-->
          <!--                        {{administrative_fine_data_storage.year1}}年{{administrative_fine_data_storage.month1}}月{{administrative_fine_data_storage.day1}}日作出处以罚款计人民币{{administrative_fine_data_storage.administrative_fine_chinese}}-->
          <!--                        (￥{{administrative_fine_data_storage.administrative_fine}}元)的行政处罚，，该收据为当事人{{administrative_fine_data_storage.year2}}年{{administrative_fine_data_storage.month2}}月{{administrative_fine_data_storage.day2}}日缴纳罚款的回单。<br>-->
          <!--                    </th>-->
          <!--                </tr>-->

        </table>
      </div>

      </body>
      </html>
    </el-dialog>
  </div>
</template>



<script setup lang="ts" name="dashboard">
import Schart from 'vue-schart';
import {reactive, ref} from 'vue';
import imgurl from '../assets/img/img.jpg';
import {
  administrative_fine_browse_data,
  advance_penalty_data,
  arrive_document_print_data,
  case_evi_Views,
  case_evidence_Views,
  case_final_report_storage,
  case_handing_browse_data,
  end_record_data,
  evi_Views,
  fetchData_case,
  fetchData_s_mongodb_evidence_Views,
  fetchData_user,
  final_report_browse_data,
  group_discuss_browse_data,
  group_discuss_print_data,
  hearing_notice_browse_data,
  illegal_record_data,
  implement_situation,
  inkjet_record_print_data_Views,
  inquiry_record_print_data,
  inspection_records_data_browse,
  law_punish_illegal_behavior_data,
  print_inkjet_record_data,
  punish_decision_browse_data,
  return_item_print_data,
  return_item_Views,
  staff_evidence_data,
  judge_collective_discuss,
  fetchData_case1,
  scene_inquiry_record_print_data,
  judge_whether_inquiry,
  sample_all_data,
  sample_entrust_data, entrust_inspection_station_data, sample_data_staff_time
} from "../api";
import {
  export_word_1,
  export_word_10,
  export_word_11,
  export_word_12,
  export_word_14,
  export_word_15,
  export_word_17,
  export_word_18,
  export_word_19,
  export_word_2,
  export_word_20,
  export_word_3,
  export_word_4,
  export_word_5,
  export_word_6,
  export_word_7
} from './table_inquiry.vue'
const name = localStorage.getItem('ms_username');




interface TableItem {
  id :number,
  case_id :number,
  case_cause :string,
  shop_name :string,
  state :string,
  case_value :number
}

const create_case=reactive({
  case_id:0,
  tcs_note_id:'',
  case_number:'',
  tcs_note:'',
})

const user_data = reactive({
  staff_name:'',
  staff_gender:'',
  staff_birthday:'',
  staff_ethnicity:'',
  staff_edu_bg:'',
  staff_email:'',
  field_staff_identity_card:'',
  staff_hometown:'',
  staff_degree:'',
  staff_political_status:'',
  staff_post:'',
  staff_account_no:'',
  staff_account_pwd:'',
  staff_starting_time:'',
  staff_authorized:'',
  staff_phone:'',
  staff_tel:'',
  staff_e_sign:'',
  staff_small_number:'',
  staff_license_no:'',
  staff_now_work_degree:'',
  staff_now_evaluate_degree:'',
});


const get_user_data=(user_name:string)=>{
  fetchData_user('','',user_name).then(res=>{
            user_data.staff_name = res.data.data[0].staff_name;
            user_data.staff_gender=res.data.data[0].staff_gender;
            user_data.staff_birthday=res.data.data[0].staff_birthday;
            user_data.staff_ethnicity=res.data.data[0].staff_ethnicity;
            user_data.staff_edu_bg=res.data.data[0].staff_edu_bg;
            user_data.staff_email=res.data.data[0].staff_email;
            user_data.field_staff_identity_card=res.data.data[0].field_staff_identity_card;
            user_data.staff_hometown=res.data.data[0].staff_hometown;
            user_data.staff_degree=res.data.data[0].staff_degree;
            user_data.staff_political_status=res.data.data[0].staff_political_status;
            user_data.staff_post=res.data.data[0].staff_post;
            user_data.staff_account_no=res.data.data[0].staff_account_no;
            user_data.staff_account_pwd=res.data.data[0].staff_account_pwd;
            user_data.staff_starting_time=res.data.data[0].staff_starting_time;
            user_data.staff_authorized=res.data.data[0].staff_authorized;
            user_data.staff_phone=res.data.data[0].staff_phone;
            user_data.staff_tel=res.data.data[0].staff_tel;
            user_data.staff_e_sign=res.data.data[0].staff_e_sign;
            user_data.staff_small_number=res.data.data[0].staff_small_number;
            user_data.staff_license_no=res.data.data[0].staff_license_no;
            user_data.staff_now_work_degree=res.data.data[0].staff_now_work_degree;
            user_data.staff_now_evaluate_degree=res.data.data[0].staff_now_evaluate_degree;

          }
  )
};
get_user_data(name);


//视图
const Progress_Visible = ref(false)                            //任务进度视图
const Create_Visible = ref(false);                             //基本信息视图
const Evidence_collection_Visible = ref(false);                //采集证据视图
const Ratification_Visible = ref(false);                       //批准书视图
const Ratification_review_Visible = ref(false);                //批准书审核视图
const Advice_note_Visible = ref(false);                        //通知书视图
const View_evi_Visible =ref(false);                                    //证据照片视图
const View_re_evi_save_vie_Visible=ref(false);                             //证据先行保存通知书和批准书
const View_evi_save_Visible =ref(false);                                //证据先行保存通知书视图
const View_Re_Visible = ref(false);                                    //查看所有证据先行保存批准书视图
const View_Re_data_Visible = ref(false);                               //查看单个证据先行保存批准书视图
const Inspection_record_Visible = ref(false);                  //现场勘验笔录视图
const Printing_record_Visible = ref(false);                    //喷码记录视图
const Filing_Report_Visible = ref(false);                      //立案报表视图
const Filing_Report_review_Visible = ref(false);               //立案报告表审核视图
const Cigarette_identification_Visible = ref(false);           //卷烟鉴别视图
const Price_list_Visible = ref(false);                         //核价表视图
const Transcript_of_questioning_Visible = ref(false);          //询问笔录视图
const Without_license_Visible = ref(false);                    //无证经营许可证视图
const End_document_Visible = ref(false);                       //调查终结文书视图
const View_check_report_Visible=ref(false);                                 //勘验笔录视图
const inkjet_record_print_Visible=ref(false);                        //卷烟喷码表视图
const Inkjet_record_Browse_Visible=ref(false);                      //卷烟喷码单个查看视图
const View_report_Visible = ref(false);                                //查看立案报告书视图
const View_identify_Visible =ref(false);                               //查看卷烟鉴别书视图
const Price_list_Browse_Visible=ref(false);                                     //核价表视图
const Inquiry_record_list_Browse_Visible=ref(false);                          //询问笔录视图
const View_end_report_Visible = ref(false);                            //查看单个调查终结文书视图
const Collective_discuss_list_Browse_Visible=ref(false);             //集体讨论信息浏览
const View_case_handing_Visible=ref(false);                                 //案件处理审批表预览视图
const Hearing_notice_Borwse_Visible=ref(false);                            //听证告知书预览
const Advance_notice_penalty_Visible=ref(false);                        //行政处罚事先告知书预览
const Punish_decision_Browse_Visible=ref(false);                                  //行政处罚决定书预览数据
const View_administrative_fine_Visible=ref(false);                                    //行政罚款收据相关信息预览数据
const View_administrative_fine_receipt_Visible=ref(false);                                    //行政罚款收据预览数据
const Return_item_Browse_Visible=ref(false);                             //涉案物品返还清单视图
const View_case_final_report_Visible=ref(false);                            //结案报告表预览视图
const View_archive_file_Visible=ref(false);                                      //归档文件预览
const View_identity_card_Visible=ref(false);                                  //当事人身份证视图
const View_enforce_official_Visible=ref(false);                               //案件相关执法人员执法证复印件视图
const View_qualification_certificate_Visible=ref(false);                           //卷烟鉴别小组成员资质证书复印件
const View_Punish_decision_Visible=ref(false);                                          //行政处罚决定书视图
const View_Punish_arrive_document_Visible=ref(false);
const View_Inspection_Records_Visible=ref(false);                                  //现场勘验笔录相关文件
const Scene_Inquiry_record_Visible=ref(false);                                             //现场询问笔录视图
const View_cigarette_identify_Visible=ref(false);                                             //卷烟鉴别相关文件
const View_identify_Sample_Visible=ref(false);                                  //卷烟鉴别检验抽样单
const View_identify_Sample_Entrust_Visible=ref(false);                            //卷烟鉴别委托协议书
const View_cigarette_Inspection_result_Visible=ref(false);                                  //卷烟送检结果
const clickLog = (row:any) => {
  create_case.case_id=row.case_id;
  create_case.tcs_note_id=row.tcs_note_id;
  create_case.case_number=row.case_number;
  Progress_Visible.value = true;
  // getactive(create_case.tcs_note_id);
  //active.value=(tcsNoteTable.value.indexOf(row.tcs_note_id)+1).toString()
  active.value=create_case.tcs_note_id;
  //active.value = getactive(row.tcs_note_id);
  // (tcsNoteTable.value.indexOf(row.tcs_note_id)+1).toString()
  console.log('active', active.value)
  console.log('table', tableData.value)
}
const getactive=(tcs_note_id:string='')=>{
  if (tcs_note_id=="证据先行保存通知书审核已完成"){
    create_case.tcs_note=(tcsNoteTable.value.indexOf(create_case.tcs_note_id)).toString()
  }else if (tcs_note_id=="证据先行保存通知书上传已完成"){
    create_case.tcs_note=(tcsNoteTable.value.indexOf(create_case.tcs_note_id)+3).toString()
  }
          // else if(tcs_note_id=="喷码记录表填写开始"){
          //     create_case.tcs_note=(tcsNoteTable.value.indexOf(create_case.tcs_note_id)+4).toString()
          // }else if(tcs_note_id=="立案报告表已完成"||tcs_note_id=="立案报告表审核已完成"){
          //     create_case.tcs_note=(tcsNoteTable.value.indexOf(create_case.tcs_note_id)+5).toString()
  // }
  else{
    create_case.tcs_note=(tcsNoteTable.value.indexOf(create_case.tcs_note_id)+1).toString()
  }
}

//启动按钮
const create = () =>{
  Create_Visible.value = true;
}
//证据采集按钮
const evidence_collection = () =>{
  Evidence_collection_Visible.value = true;
  Create_Visible.value = false;
}
//证据保存批准书按钮
const ratification = () =>{
  Ratification_Visible.value = true;
  Evidence_collection_Visible.value = false;
}
//证据保存批准书审核按钮
const ratification_review = () =>{
  Ratification_review_Visible.value = true;
  Ratification_Visible.value = false;
}
//证据保存通知书上传按钮
const advice_note = () =>{
  Advice_note_Visible.value = true;
  Ratification_review_Visible.value = false;
}
//现场勘验笔录按钮
const inspection_record = () =>{
  Inspection_record_Visible.value = true;
  Advice_note_Visible.value = false;
}
//喷码记录表按钮
const printing_record = () =>{
  Printing_record_Visible.value = true;
  Inspection_record_Visible.value = false;
}
//立案报表按钮
const filing_Report = () =>{
  Filing_Report_Visible.value = true;
  Printing_record_Visible.value = false;
  Inspection_record_Visible.value = false;
}
//立案报表审核按钮
const filing_Report_review = () =>{
  Filing_Report_review_Visible.value = true;
  Filing_Report_Visible.value = false;
}
//卷烟鉴别书按钮
const cigarette_identification = () =>{
  Cigarette_identification_Visible.value = true;
  Filing_Report_review_Visible.value = false;
}
//核价表按钮
const price_list = () =>{
  Price_list_Visible.value = true;
  Cigarette_identification_Visible.value = false;
  Filing_Report_review_Visible.value = false;
}
//询问笔录按钮
const cranscript_of_questioning = () =>{
  Transcript_of_questioning_Visible.value = true;
  Price_list_Visible.value = false;
}
//无证经营许可证按钮
const without_license= () =>{
  Without_license_Visible.value = true;
  Transcript_of_questioning_Visible.value = false;
}
//调查终结文书按钮
const end_document = () =>{
  End_document_Visible.value = true;
  Without_license_Visible.value = false;
}
//终结案件按钮
const end = () =>{
  End_document_Visible.value = false;
}
const tableData = ref<TableItem[]>([]);

const pageTotal = ref(0);
const tcsNoteTable = ref<String[]>([]);
let active = ref<String>('0');


//获取所有证据照片
const view_evi_img_vie = () =>{
  get_evidence_img_data(create_case.case_number);
  View_evi_Visible.value = true;
}
//获取证据照片数据
const get_evidence_img_data = (case_number:string='')=>{
  fetchData_s_mongodb_evidence_Views(case_number,'').then(res=>{
    case_img_Data.value = res.data.data
  })
}
const get_administrative_fine_img_data= (case_number:string='')=>{
  fetchData_s_mongodb_evidence_Views(case_number,'行政罚款收据').then(res=>{
    case_img_Data.value = res.data.data
  })
}

const view_re_evi_save_vie=()=>{
  if (create_case.tcs_note_id=="证据先行保存通知书上传已完成"||create_case.tcs_note_id=="现场勘验笔录已完成" || create_case.tcs_note_id=="喷码记录表已完成"||create_case.tcs_note_id=="立案报告表主任审核已完成"||
          create_case.tcs_note_id=="卷烟鉴别书已完成" || create_case.tcs_note_id=="涉案烟草价品核案表完成"||create_case.tcs_note_id=="询问笔录已完成"||
          create_case.tcs_note_id=="调查终结文书已完成"||create_case.tcs_note_id=="集体讨论已完成"||create_case.tcs_note_id=="听证已完成"||
          create_case.tcs_note_id=="案件处理审批已完成"||create_case.tcs_note_id=="行政处罚事先告知书已完成"||create_case.tcs_note_id=="行政处罚决定书已完成"||
          create_case.tcs_note_id=="行政罚款收据已完成"||create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){
    View_re_evi_save_vie_Visible.value = true;
  }else{
    alert("证据先行保存未完成");
  }
}
// 暂存先行保存批准书数据
const case_evi_data = reactive({
  case_id :0,
  evi_img:'',
  date_of_filing:'',
  year:'',
  month:'',
  day:'',
  evi_id_number:'',
  evi_id_number1:'',
  illegal_behavior:'',
  tlc_id:'',
  mer_person:'',
  mer_id:'',
  tce_type_number:'',
  tce_number:'',
  tce_type_number_chinese:'',
  tce_number_chinese:'',
  tce_address:'',
  user_id_1:'',
  user_id_2:'',
  user_name_1:'',
  user_name_2:'',
})
//获取证据先行保存通知书
const view_evi_save_vie = () =>{
  fetchData_s_mongodb_evidence_Views(case_report_data.case_number,"证据先行保存通知书").then(res=>{
    case_evi_data.evi_img = res.data.data[0].img
  })
  View_evi_save_Visible.value = true;
}
//通过案件号查询所有证据先行保存通知书
interface Evidence_case_data {
  case_id:number,//案件号
  evi_id_number:string,
  evi_number:number,
  tce_time_year:string,//案件时间
  tce_time_month:string,
  tce_time_day:string,
  tce_type_number:string,
  tce_number:string,
  tce_amount:number,
  tce_remark:string,
  tce_address:string,
}
const evidence_case_Data= ref<Evidence_case_data[]>([]);
const get_evidence_case_Data = (case_id:number) =>{
  case_evi_Views("" ,case_id).then(res=>{
    evidence_case_Data.value = res.data.data;
  })
}
//证据先行保存通知书（所有视图）
//测试用

const view_re = () =>{
  get_evidence_case_Data(create_case.case_id);
  // note_img_views("3501210202210002",'证据先行保存通知书');
  View_Re_Visible.value = true;
}
const view_record_inspecting=()=>{
  get_inspection_records_data_browse();
  View_check_report_Visible.value=true;
}
const view_record_inquiry=()=>{
  get_scene_record_browse_data();
  Scene_Inquiry_record_Visible.value = true;
}
//勘验笔录确认暂存数据
const inspection_records_data_storage=reactive({
  case_id:0,
  date_of_filing:'',
  year:'',
  month:'',
  day:'',
  hour:'',
  min:'',
  user_id_1:0,//询问人员1编号
  user_name_1:'',//询问人员1
  user_id_2:0,//询问人员2编号
  user_name_2:'',//询问人员2
  mer_address:'',
  mer_person:'',
  mer_record:'',
  mer_name:'',//店名
  mer_person1:'',//许可证负责人
  retail_licence_code:'',//许可证号
  category:'',//许可证类型
  tce_type_number:0,
  tce_type_number_chinese:'',
  tce_number:0,
  tce_number_chinese:'',
  evi_id_number:'',
  ciga_data_all:'',
  list:[],
  whether_retail_licence_code:'',
  temp:0,
  list1:[1],
  list2:[1]
})

//获取现场勘验笔录现场记录浏览信息
const get_scene_record_browse_data=()=>{
  scene_inquiry_record_print_data(create_case.case_id).then(res=>{
    inquiry_record_browse_data.date_of_filing=res.data.data.inquiry_time;
    inquiry_record_browse_data.tce_address=res.data.data.tce_address;
    inquiry_record_browse_data.user_id_1=res.data.data.user_id_1,//询问人员1编号
    inquiry_record_browse_data.user_name_1=res.data.data.user_name_1,//询问人员1
    inquiry_record_browse_data.user_id_2=res.data.data.user_id_2,//询问人员2编号
    inquiry_record_browse_data.user_name_2=res.data.data.user_name_2,//询问人员2
    inquiry_record_browse_data.recorder=res.data.data.recorder,//记录员
    inquiry_record_browse_data.staff_license_1=res.data.data.staff_license_1;
    inquiry_record_browse_data.staff_license_2=res.data.data.staff_license_2;
    inquiry_record_browse_data.mer_person=res.data.data.tir_person;//被询问人
    inquiry_record_browse_data.gender=res.data.data.tir_gender;//被询问人性别
    inquiry_record_browse_data.nation=res.data.data.tir_nation;//被询问人民族
    inquiry_record_browse_data.identity_card=res.data.data.tir_id_number;//身份证号码
    inquiry_record_browse_data.family_address=res.data.data.tir_home;//住址
    inquiry_record_browse_data.business_address=res.data.data.address;//经营地址
    inquiry_record_browse_data.telephone_number=res.data.data.tel;//联系电话
    inquiry_record_browse_data.confirm_record=res.data.data.confirm_record;//确认记录
    inquiry_record_browse_data.inform_right=res.data.data.inform_right;
    inquiry_record_browse_data.tir_person_answer=res.data.data.tir_person_answer;
    inquiry_record_browse_data.question_answer_list=res.data.data.question_answer_list;
    inquiry_record_browse_data.end_confirm=res.data.data.end_confirm;
    // inspection_records_data_storage.temp=res.data.data.temp;
  })
  judge_whether_inquiry(create_case.case_id).then(res1=>{
    inspection_records_data_storage.temp=res1.data.data.temp;
  })

}

//证据先行保存通知书（单个视图）
const view_re_data = (row:any) =>{
  get_case_evidenct_data(row);
  View_Re_data_Visible.value = true;
}
//获取证据先行保存通知书中的信息
const get_case_evidenct_data = (row:any) =>{
  case_evidence_Views(row.case_id,row.evi_id_number).then(res=>{
            case_evi_data.date_of_filing = res.data.data.date_of_filing;
            case_evi_data.year = res.data.data.year
            case_evi_data.month = res.data.data.month
            case_evi_data.day = res.data.data.day
            case_evi_data.evi_id_number = res.data.data.evi_id_number
            case_evi_data.evi_id_number1 = res.data.data.evi_id_number
            case_evi_data.illegal_behavior = res.data.data.illegal_behavior
            case_evi_data.tlc_id = res.data.data.tlc_id
            case_evi_data.mer_person = res.data.data.mer_person
            case_evi_data.mer_id = res.data.data.mer_id
            case_evi_data.tce_type_number = res.data.data.tce_type_number
            case_evi_data.tce_number = res.data.data.tce_number
            case_evi_data.tce_type_number_chinese = res.data.data.tce_type_number_chinese
            case_evi_data.tce_number_chinese = res.data.data.tce_number_chinese
            case_evi_data.tce_address = res.data.data.tce_address
            case_evi_data.user_id_1 = res.data.data.user_id_1
            case_evi_data.user_id_2 = res.data.data.user_id_2
            case_evi_data.user_name_1 = res.data.data.user_name_1
            case_evi_data.user_name_2 = res.data.data.user_name_2
            evidence_ciga_Data.value = res.data.data.list
          }
  )
}

//打印证据先行保存批准书
const create_evi_word = (case_id:number,evi_id_number:string='') =>{
  case_evidence_Views(case_id,evi_id_number).then(res=>{
    export_word_1(res.data.data.evi_id_number,
            res.data.data.illegal_behavior,
            res.data.data.mer_person,
            res.data.data.year,
            res.data.data.month,
            res.data.data.day,
            res.data.data.user_name_1, //执法人员1
            res.data.data.user_name_2,//执法人员2
            res.data.data.tce_type_number_chinese,
            res.data.data.tce_number_chinese,
            res.data.data.tce_address,
            res.data.data.list
    )
  })
}
//查看勘验笔录暂存数据
const inspection_records_browse_view_data=reactive({
  case_id:0,
  date_of_filing:'',
  year:'',
  month:'',
  day:'',
  hour:'',
  min:'',
  user_id_1:0,//询问人员1编号
  user_name_1:'',//询问人员1
  user_id_2:0,//询问人员2编号
  user_name_2:'',//询问人员2
  mer_person:'',
  mer_address:'',
  mer_name:'',
  retail_licence_code:'',//许可证号
  tir_id_number:'',
  tir_gender:'',
  tir_age:'',
  tir_home:'',
  evi_data:'',
  telephone_number:'',
  illegal_behavior_data : '',
  tir_person:'',
  ciga_data : '',
  list1:[],
  list2:[],
  list3:[],
  tce_type_number:0,
  staff_license_no1:'',
  staff_license_no2:'',
  tce_number:0,
  whether_retail_licence_code:'',
  tce_type_number_chinese:'',
  tce_number_chinese:'',

})
interface Evidence_ciga_data {
  case_id:number,
  evi_number:number,
  ciga_variety:string,
  barcode:string,
  ciga_model:string,
  ciga_price:number,
  inkjet:string,
  evi_id_number:string,
}
const evidence_ciga_Data= ref<Evidence_ciga_data[]>([]);
const check_record_table=()=>{
  if (create_case.tcs_note_id=="现场勘验笔录已完成" || create_case.tcs_note_id=="喷码记录表已完成"||create_case.tcs_note_id=="立案报告表主任审核已完成"||
          create_case.tcs_note_id=="卷烟鉴别书已完成" || create_case.tcs_note_id=="涉案烟草价品核案表完成"||create_case.tcs_note_id=="询问笔录已完成"||
          create_case.tcs_note_id=="调查终结文书已完成"||create_case.tcs_note_id=="集体讨论已完成"||create_case.tcs_note_id=="听证已完成"||
          create_case.tcs_note_id=="案件处理审批已完成"||create_case.tcs_note_id=="行政处罚事先告知书已完成"||create_case.tcs_note_id=="行政处罚决定书已完成"||
          create_case.tcs_note_id=="行政罚款收据已完成"||create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){
    View_Inspection_Records_Visible.value=true;

  }else{
    alert("现场勘验笔录未完成");
  }

}
//先行保存通知书与案由对应表
interface Illeg_evi_data {
  evi_id_number:string,
  tlc_id:number,
}
const illeg_evi_Data = ref<Illeg_evi_data[]>([]);
//获取勘验笔录数据
const get_inspection_records_data_browse=()=>{
  inspection_records_data_browse(create_case.case_id).then(res=>{
    inspection_records_browse_view_data.date_of_filing=res.data.data.date_of_filing;
    inspection_records_browse_view_data.year=res.data.data.year;
    inspection_records_browse_view_data.month=res.data.data.month;
    inspection_records_browse_view_data.day=res.data.data.day;
    inspection_records_browse_view_data.mer_person=res.data.data.mer_person;
    inspection_records_browse_view_data.hour=res.data.data.hour;
    inspection_records_browse_view_data.min=res.data.data.min;
    inspection_records_browse_view_data.user_id_1=res.data.data.user_id_1;
    inspection_records_browse_view_data.user_name_1=res.data.data.user_name_1;
    inspection_records_browse_view_data.user_id_2=res.data.data.user_id_2;
    inspection_records_browse_view_data.user_name_2=res.data.data.user_name_2;
    inspection_records_browse_view_data.mer_address=res.data.data.mer_address;
    inspection_records_browse_view_data.mer_name=res.data.data.mer_name;
    inspection_records_browse_view_data.whether_retail_licence_code=res.data.data.whether_retail_licence_code;
    inspection_records_browse_view_data.retail_licence_code=res.data.data.retail_licence_code;
    inspection_records_browse_view_data.tir_id_number=res.data.data.tir_id_number;
    inspection_records_browse_view_data.tir_gender=res.data.data.tir_gender;
    inspection_records_browse_view_data.tir_age=res.data.data.tir_age;
    inspection_records_browse_view_data.tir_home=res.data.data.tir_home;
    inspection_records_browse_view_data.staff_license_no1=res.data.data.staff_license_no1;
    inspection_records_browse_view_data.staff_license_no2=res.data.data.staff_license_no2;
    inspection_records_browse_view_data.tir_person=res.data.data.tir_person;
    inspection_records_browse_view_data.telephone_number=res.data.data.telephone_number;
    inspection_records_browse_view_data.tce_type_number = res.data.data.tce_type_number
    inspection_records_browse_view_data.tce_number = res.data.data.tce_number
    inspection_records_browse_view_data.tce_type_number_chinese = res.data.data.tce_type_number_chinese
    inspection_records_browse_view_data.tce_number_chinese = res.data.data.tce_number_chinese
    inspection_records_browse_view_data.list1=res.data.data.list1;
    inspection_records_browse_view_data.list2=res.data.data.list2;
    evidence_ciga_Data.value = res.data.data.list2
    illeg_evi_Data.value = res.data.data.list3
    res.data.data.list1.forEach(function (item) {
      inspection_records_browse_view_data.illegal_behavior_data = inspection_records_browse_view_data.illegal_behavior_data + item.illegal_behavior + '、'
    })
    res.data.data.list2.forEach(function (item) {
      inspection_records_browse_view_data.ciga_data = inspection_records_browse_view_data.ciga_data + '“' + item.ciga_model + ' ' + item.ciga_variety +
              '“'+item.evi_number+'条，'
    })
    res.data.data.list3.forEach(function (item) {
      inspection_records_browse_view_data.evi_data = '侯烟存通字【'+ inspection_records_browse_view_data.year +'】第'+
              item.evi_id_number + '号、'
    })
  })
}
const print_check_record=()=>{
  inspection_records_data_browse(create_case.case_id).then(res=>{
    export_word_10(
            res.data.data.year,
            res.data.data.month,
            res.data.data.day,
            res.data.data.hour,
            res.data.data.min,
            res.data.data.mer_address,
            res.data.data.mer_name,
            res.data.data.mer_person,
            res.data.data.tir_gender,
            res.data.data.tir_age,
            res.data.data.retail_licence_code,
            res.data.data.tir_id_number,
            res.data.data.tir_home,
            res.data.data.telephone_number,
            res.data.data.user_name_1,
            res.data.data.user_name_2,
            res.data.data.whether_retail_licence_code,
            res.data.data.list2,
            res.data.data.tce_type_number_chinese,
            res.data.data.tce_number_chinese,
            res.data.data.list3,
            res.data.data.staff_license_no1,
            res.data.data.staff_license_no2,
    )
  })
}



const inkjet_record_print=()=>{
  if (create_case.tcs_note_id=="喷码记录表已完成"||create_case.tcs_note_id=="立案报告表主任审核已完成"||
          create_case.tcs_note_id=="卷烟鉴别书已完成" || create_case.tcs_note_id=="涉案烟草价品核案表完成"||create_case.tcs_note_id=="询问笔录已完成"||
          create_case.tcs_note_id=="调查终结文书已完成"||create_case.tcs_note_id=="集体讨论已完成"||create_case.tcs_note_id=="听证已完成"||
          create_case.tcs_note_id=="案件处理审批已完成"||create_case.tcs_note_id=="行政处罚事先告知书已完成"||create_case.tcs_note_id=="行政处罚决定书已完成"||
          create_case.tcs_note_id=="行政罚款收据已完成"||create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){
    get_inkjet_record_print_data(create_case.case_id);
    //create_case.case_id = row.case_id;
    inkjet_record_print_Visible.value = true;
  }else{
    alert("喷码记录表未完成");
  }

}

//暂存卷烟喷码查看记录
const inkjet_record_view_data=reactive({
  case_id:0,
  evi_id_number:'',
  year:'',
  tce_type_number:0,
  tce_number:0,
  //tce_address:'',
  user_name_1:'',
  user_name_2:'',
  mer_person:'',
  list:[]
})
//获取所有的要打印的卷烟喷码的信息
interface Inkjet_record_print_data{
  case_id:number,
  evi_id_number:'',
  tce_type_number:number,
  tce_number:number,
  tce_amount:number,
  tce_address:'',
  user_name_1:'',
  user_name_2:'',
  mer_person:'',
}
const inkjet_record_print_Data=ref<Inkjet_record_print_data[]>([]);
const get_inkjet_record_print_data=(case_id:number)=>{
  inkjet_record_print_data_Views(case_id).then(res=>{
    inkjet_record_print_Data.value=res.data.data;
  })
}
const views_inkjet_record_data=(index: number,row:any)=>{
  //create_case.evi_id_number=row.evi_id_number;
  print_inkjet_record_data(row.case_id,row.evi_id_number).then(res=>{
    inkjet_record_view_data.case_id=res.data.data.case_id;
    inkjet_record_view_data.evi_id_number=res.data.data.evi_id_number;
    inkjet_record_view_data.year=res.data.data.year;
    inkjet_record_view_data.tce_type_number=res.data.data.tce_type_number;
    inkjet_record_view_data.tce_number = res.data.data.tce_number;
    inkjet_record_view_data.user_name_1=res.data.data.user_name_1;
    inkjet_record_view_data.user_name_2=res.data.data.user_name_2;
    inkjet_record_view_data.mer_person=res.data.data.mer_person;
    inkjet_record_view_data.list=res.data.data.list;
  })
  Inkjet_record_Browse_Visible.value=true;
}
//根据案件号和先行保存通知书号码打印卷烟喷码明细表
const Print_Inkjet_Record=(index: number,row: any)=>{
  print_inkjet_record_data(row.case_id,row.evi_id_number).then(res=>{
    export_word_2(
            res.data.data.evi_id_number,
            res.data.data.mer_person,
            res.data.data.year,
            res.data.data.user_name_1,
            res.data.data.user_name_2,
            res.data.data.tce_type_number,
            res.data.data.tce_number,
            res.data.data.list
    )
  })
}
const cigarette_identification_certificate=()=>{
  get_identity_report_data(create_case.case_id);
  View_identify_Visible.value=true;
}

const cigarette_identification_sampling=()=>{
  get_sample_data();
  // get_cigarette_identification_sampling_data(case_identify_report_data.case_id);
  get_sample_data_staff_time();
  View_identify_Sample_Visible.value=true;
}

const cigarette_identification_entrust=()=>{
  get_sample_data();
  get_sample_data_staff_time();
  get_entrust_inspection_station_data();
  View_identify_Sample_Entrust_Visible.value=true;
}

const img_form_data = reactive({
  case_number: '',
  name:'',
  content:'',
  remark:'',
  img:'',
  time:'',
});
const img = [];
const handleChange = (file) =>{
  img.push(file);
}
const handleRemove = (file) =>{
  img.forEach(function (item,index,arr){
    if (item.name == file.name){
      img.splice(index,1)
    }
  })
}

const cigarette_inspection_result=()=>{
  img_form_data.case_number = case_identify_report_data.case_number;
  fetchData_s_mongodb_evidence_Views(case_identify_report_data.case_number,"卷烟送检结果").then(res => {
    img_form_data.img=res.data.data[0].img
    console.log(img_form_data.img)
  });
  View_cigarette_Inspection_result_Visible.value=true;
}

//卷烟鉴别抽样及委托书数据
const cigarette_identifify_sample_data=reactive({
  case_id:0,
  tir_person:'',
  tir_telephone:'',
  tir_address:'',
  sampling_unit:'闽侯县烟草专卖局',
  sampling_person1:'',
  sampling_person1_name:'',
  sampling_person2:'',
  sampling_person2_name:'',
  sampling_address:'闽侯县甘蔗街道滨城大道69号闽商财富中心一楼（闽侯县烟草专卖局）',
  sampling_time:'',
  client:'闽侯县烟草专卖局',//委托人
  telephone:'0591-62080093',
  portraiture:'0591-22066126',//传真
  postal_code:'350100',
  client_address:'闽侯县甘蔗街道滨城大道69号闽商财富中心一楼',
  year:'',
  month:'',
  day:'',
  unit_name:'福建省闽侯县烟草专卖局',
  contact_person:'',//联系人
  handle_person:'',//经办人
  inspection_station_name:'',//检验站名称
  inspection_station_address:'',//检验站地址
  inspection_station_telephone:'',//检验站联系电话
  inspection_station_portraiture:'',//检验站传真
  inspection_station_postcode:'',//检验站邮编
  sample_state_describe:'',//样品状态描述
  remarks:'',//备注
  contact_person_name:'',
  handle_person_name:'',
})

//抽样样品信息
interface Sample_ciga_data {
  sample_no:number,
  case_id:number,
  ciga_id:number,
  name:string,
  package_form:string,
  s_address:string,
  barcode:string,
  model:string,
  base:string,
  sampling_quantity:1,
  sample_number:1
}
const sample_ciga_Data= ref<Sample_ciga_data[]>([]);

const get_sample_data=()=>{
  sample_all_data(case_identify_report_data.case_id).then(res=>{
    cigarette_identifify_sample_data.tir_person=res.data.data.tir_person;
    cigarette_identifify_sample_data.tir_telephone=res.data.data.tir_telephone;
    cigarette_identifify_sample_data.tir_address=res.data.data.tir_address;
    // alert(res.data.data.sample_entrust_id)
    // if (cigarette_identifify_sample_data.temp.length>0){
    cigarette_identifify_sample_data.sampling_unit=res.data.data.sampling_unit;
    cigarette_identifify_sample_data.sampling_person1=res.data.data.sampling_person1;
    cigarette_identifify_sample_data.sampling_person2=res.data.data.sampling_person2;
    cigarette_identifify_sample_data.sampling_address=res.data.data.sampling_address;
    // cigarette_identifify_sample_data.sampling_time=res.data.data.sampling_time;
    cigarette_identifify_sample_data.client=res.data.data.client;
    cigarette_identifify_sample_data.telephone=res.data.data.telephone;
    cigarette_identifify_sample_data.portraiture=res.data.data.portraiture;
    cigarette_identifify_sample_data.postal_code=res.data.data.postal_code;
    cigarette_identifify_sample_data.client_address=res.data.data.client_address;
    //}
    sample_ciga_Data.value=res.data.data.sample_ciga_Data;
  })
}

const get_sample_data_staff_time=()=>{
  sample_data_staff_time(case_identify_report_data.case_id).then(res=>{
    cigarette_identifify_sample_data.sampling_person1_name=res.data.data.sampling_person1_name,
            cigarette_identifify_sample_data.sampling_person2_name=res.data.data.sampling_person2_name,
            cigarette_identifify_sample_data.year=res.data.data.year,
            cigarette_identifify_sample_data.month=res.data.data.month,
            cigarette_identifify_sample_data.day=res.data.data.day
  })
}

const get_sample_entrust_data=()=>{
  sample_entrust_data(case_identify_report_data.case_id).then(res=>{
    cigarette_identifify_sample_data.sampling_time=res.data.data.sampling_time;
    cigarette_identifify_sample_data.sampling_person1_name=res.data.data.sampling_person1_name;
    cigarette_identifify_sample_data.sampling_person2_name=res.data.data.sampling_person2_name;
    cigarette_identifify_sample_data.inspection_station_name=res.data.data.inspection_station_name;
    cigarette_identifify_sample_data.inspection_station_address=res.data.data.inspection_station_address;
    cigarette_identifify_sample_data.inspection_station_telephone=res.data.data.inspection_station_telephone;
    cigarette_identifify_sample_data.inspection_station_portraiture=res.data.data.inspection_station_portraiture;
    cigarette_identifify_sample_data.inspection_station_postcode=res.data.data.inspection_station_postcode;
    cigarette_identifify_sample_data.sample_state_describe=res.data.data.sample_state_describe;
    cigarette_identifify_sample_data.year=res.data.data.year;
    cigarette_identifify_sample_data.month=res.data.data.month;
    cigarette_identifify_sample_data.day=res.data.data.day;
    cigarette_identifify_sample_data.remarks=res.data.data.remarks;
  })
}
const get_entrust_inspection_station_data=()=>{
  entrust_inspection_station_data(case_identify_report_data.case_id).then(res=>{
    cigarette_identifify_sample_data.inspection_station_name=res.data.data.inspection_station_name;
    cigarette_identifify_sample_data.inspection_station_address=res.data.data.inspection_station_address;
    cigarette_identifify_sample_data.inspection_station_postcode=res.data.data.inspection_station_postcode;
    cigarette_identifify_sample_data.inspection_station_portraiture=res.data.data.inspection_station_portraiture;
    cigarette_identifify_sample_data.inspection_station_telephone=res.data.data.inspection_station_telephone;
    cigarette_identifify_sample_data.contact_person_name=res.data.data.contact_person_name;
    cigarette_identifify_sample_data.handle_person_name=res.data.data.handle_person_name;
    cigarette_identifify_sample_data.remarks=res.data.data.remarks;
    cigarette_identifify_sample_data.sample_state_describe=res.data.data.sample_state_describe
  })
}

// 暂存立案报告表数据
const case_report_data = reactive({
  year:'',
  month:'',
  day:'',
  hour:'',
  min:'',
  tcs_note:'',
  case_id:0,
  case_source:'',
  case_number:'',
  date_of_filing:'',
  mer_address:'',
  mer_person:'',
  illegal_behavior:'',
  mer_id_number:'',
  mer_hometown:'',
  mer_name:'',
  retail_licence_code:'',
  area_name:'',
  tce_type_number:'',
  tce_number:'',
  tce_type_number_chinese:'',
  tce_number_chinese:'',
  mer_id:'',
  tir_id_number:'',
  tir_person:'',
  list1:[],
  list2:[],
  list3:[],
  illegal_behavior_data : '',
  ciga_data : '',
  evi_data : '',
  violate_law:'',
})
//立案报告表视图
const view_report =() =>{
  case_report_data.illegal_behavior_data=""
  case_report_data.ciga_data=""
  case_report_data.evi_data=""
  if (create_case.tcs_note_id=="立案报告表主任审核已完成"||
          create_case.tcs_note_id=="卷烟鉴别书已完成" || create_case.tcs_note_id=="涉案烟草价品核案表完成"||create_case.tcs_note_id=="询问笔录已完成"||
          create_case.tcs_note_id=="调查终结文书已完成"||create_case.tcs_note_id=="集体讨论已完成"||create_case.tcs_note_id=="听证已完成"||
          create_case.tcs_note_id=="案件处理审批已完成"||create_case.tcs_note_id=="行政处罚事先告知书已完成"||create_case.tcs_note_id=="行政处罚决定书已完成"||
          create_case.tcs_note_id=="行政罚款收据已完成"||create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){
    get_case_report_data(create_case.case_id);
    View_report_Visible.value=true;
  }else{
    alert("立案报告表未完成");
  }

}
//获取立案报告表中的数据
const get_case_report_data= (case_id:number) =>{
  illegal_record_data(case_id).then(res=>{
            case_report_data.year= res.data.data.year;
            case_report_data.month = res.data.data.month;
            case_report_data.day = res.data.data.day;
            case_report_data.hour = res.data.data.hour;
            case_report_data.min = res.data.data.min;
            case_report_data.case_source = res.data.data.case_source;
            case_report_data.case_number = res.data.data.case_number
            case_report_data.date_of_filing = res.data.data.date_of_filing
            case_report_data.mer_address = res.data.data.mer_address
            case_report_data.mer_person = res.data.data.mer_person
            case_report_data.mer_id = res.data.data.mer_id
            case_report_data.mer_id_number = res.data.data.mer_id_number
            case_report_data.mer_hometown = res.data.data.mer_hometown
            case_report_data.mer_name = res.data.data.mer_name
            case_report_data.mer_person = res.data.data.mer_person
            case_report_data.retail_licence_code = res.data.data.retail_licence_code
            case_report_data.tce_type_number = res.data.data.tce_type_number
            case_report_data.tce_number = res.data.data.tce_number
            case_report_data.tce_type_number_chinese = res.data.data.tce_type_number_chinese
            case_report_data.tce_number_chinese = res.data.data.tce_number_chinese
            case_report_data.tir_person = res.data.data.tir_person
            case_report_data.tir_id_number = res.data.data.tir_id_number
            case_report_data.violate_law=res.data.data.violate_law
            case_report_data.list1 = res.data.data.list1
            case_report_data.list2 = res.data.data.list2
            case_report_data.list3 = res.data.data.list3
            evidence_ciga_Data.value = res.data.data.list2
            illeg_evi_Data.value = res.data.data.list3
            res.data.data.list1.forEach(function (item) {
              case_report_data.illegal_behavior_data = case_report_data.illegal_behavior_data + item.illegal_behavior + '、'
            })
            res.data.data.list2.forEach(function (item) {
              case_report_data.ciga_data = case_report_data.illegal_behavior_data + '“' + item.ciga_model + ' ' + item.ciga_variety +
                      '“'+item.evi_number+'条，'
            })
            res.data.data.list3.forEach(function (item) {
              case_report_data.evi_data = case_report_data.illegal_behavior_data + '侯烟存通字【'+ case_report_data.year +'】第'+
                      item.evi_id_number + '号、'
            })
          }
  )
}
//打印立案报告书
const create_report_word = () =>{
  illegal_record_data(create_case.case_id).then(res=>{
    export_word_3(
            res.data.data.year,
            res.data.data.case_number,
            res.data.data.list1,
            res.data.data.case_source,
            res.data.data.month,
            res.data.data.day,
            res.data.data.hour,
            res.data.data.min,
            res.data.data.mer_address,
            res.data.data.tir_person,
            res.data.data.retail_licence_code,
            res.data.data.tir_id_number,
            res.data.data.mer_hometown,
            res.data.data.area_name,
            res.data.data.mer_name,
            res.data.data.list2,
            res.data.data.tce_type_number_chinese,
            res.data.data.tce_number_chinese,
            res.data.data.list3,
            res.data.data.violate_law,
    )
  })
}

// 暂存鉴别书数据
const case_identify_report_data = reactive({
  date_of_filing:'',
  tcs_note:'',
  area_id:'',
  case_id:0,
  tir_person: "",
  tir_id_number: "",
  tir_home:"",
  case_source: "",
  case_number: "",
  mer_id: 0 ,
  year: "",
  month: "",
  day: "",
  hour: "",
  min: "",
  staff_evi_rec_address:'',
  staff_evi_send_per:'',
  staff_evi_check_per1:'',
  staff_evi_check_per2:'',
  staff_evi_send_per_name:'',
  staff_evi_check_per_name_1:'',
  staff_evi_check_per_name_2:'',
  staff_evi_send_time:'',
  year1:'',
  month1:'',
  day1:'',
  year2:'',
  month2:'',
  day2:'',
  staff_identity_license_no_1:'',
  staff_identity_license_no_2:'',
  staff_evi_send_unit:'',
  staff_evi_per_note:'',
  staff_evi_identity_time:'',
  mer_address: "",
  mer_person: "",
  mer_id_number: "",
  mer_hometown: "",
  mer_name: "",
  retail_licence_code: "",
  area_name: "",
  tce_type_number: "",
  tce_type_number_chinese: "",
  tce_number: "",
  tce_amount: "",
  tce_number_chinese: "",
  tce_type_number_f: '',
  tce_number_f: '',
  tce_type_number_f_chinese: "",
  tce_number_f_chinese: "",
  tce_type_number_t: '',
  tce_number_t: "",
  tce_type_number_t_chinese: "",
  tce_number_t_chinese: "",
  list1:[],
  list2:[],
  list3:[],
  list4:[],
  list5:[],
  illegal_behavior_data : '',
  ciga_data_all : '',
  ciga_data_t : '',
  ciga_data_f : '',
  evi_data_all : '',
  evi_data_t : '',
  evi_data_f : '',
  evi_ciga_t:'',
  evi_ciga_f:'',
})

//卷烟鉴别书视图
const view_identify_report =() =>{
  if (create_case.tcs_note_id=="卷烟鉴别书已完成" || create_case.tcs_note_id=="涉案烟草价品核案表完成"||create_case.tcs_note_id=="询问笔录已完成"||
          create_case.tcs_note_id=="调查终结文书已完成"||create_case.tcs_note_id=="集体讨论已完成"||create_case.tcs_note_id=="听证已完成"||
          create_case.tcs_note_id=="案件处理审批已完成"||create_case.tcs_note_id=="行政处罚事先告知书已完成"||create_case.tcs_note_id=="行政处罚决定书已完成"||
          create_case.tcs_note_id=="行政罚款收据已完成"||create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){
    View_cigarette_identify_Visible.value = true;

  }else{
    alert("卷烟鉴别书未完成");
  }
}
//获取卷烟鉴别书的数据
const get_identity_report_data= (case_id:number) =>{
  case_identify_report_data.ciga_data_t = ""
  case_identify_report_data.ciga_data_f = ""
  case_identify_report_data.evi_data_all = ""
  case_identify_report_data.illegal_behavior_data = ""
  case_identify_report_data.case_id = case_id
  staff_evidence_data(case_id).then(res=>{
            case_identify_report_data.date_of_filing = res.data.data.date_of_filing;
            case_identify_report_data.tir_person = res.data.data.tir_person;
            case_identify_report_data.tir_id_number = res.data.data.tir_id_number;
            case_identify_report_data.tir_home = res.data.data.tir_home;
            case_identify_report_data.staff_evi_rec_address = res.data.data.staff_evi_rec_address;
            case_identify_report_data.staff_evi_send_per = res.data.data.staff_evi_send_per;
            case_identify_report_data.staff_evi_check_per1 = res.data.data.staff_evi_check_per1;
            case_identify_report_data.staff_evi_check_per2 = res.data.data.staff_evi_check_per2;
            case_identify_report_data.staff_evi_send_per_name = res.data.data.staff_evi_send_per_name;
            case_identify_report_data.staff_evi_check_per_name_1 = res.data.data.staff_evi_check_per_name_1;
            case_identify_report_data.staff_evi_check_per_name_2 = res.data.data.staff_evi_check_per_name_2;
            case_identify_report_data.staff_evi_send_time = res.data.data.staff_evi_send_time;
            case_identify_report_data.year1 = res.data.data.year1;
            case_identify_report_data.month1 = res.data.data.month1;
            case_identify_report_data.day1 = res.data.data.day1;
            case_identify_report_data.year2 = res.data.data.year2;
            case_identify_report_data.month2 = res.data.data.month2;
            case_identify_report_data.day2 = res.data.data.day2;
            case_identify_report_data.staff_identity_license_no_1 = res.data.data.staff_identity_license_no_1;
            case_identify_report_data.staff_identity_license_no_2 = res.data.data.staff_identity_license_no_2;
            case_identify_report_data.staff_evi_send_unit = res.data.data.staff_evi_send_unit;
            case_identify_report_data.staff_evi_per_note = res.data.data.staff_evi_per_note;
            case_identify_report_data.mer_id = res.data.data.mer_id;
            case_identify_report_data.year = res.data.data.year;
            case_identify_report_data.month = res.data.data.month;
            case_identify_report_data.day = res.data.data.day;
            case_identify_report_data.hour = res.data.data.hour;
            case_identify_report_data.min = res.data.data.min;
            case_identify_report_data.mer_address = res.data.data.mer_address;
            case_identify_report_data.mer_person = res.data.data.mer_person;
            case_identify_report_data.mer_id_number = res.data.data.mer_id_number;
            case_identify_report_data.mer_hometown = res.data.data.mer_hometown;
            case_identify_report_data.mer_name = res.data.data.mer_name;
            case_identify_report_data.retail_licence_code = res.data.data.retail_licence_code;
            case_identify_report_data.area_name = res.data.data.area_name;
            case_identify_report_data.tce_type_number = res.data.data.tce_type_number;
            case_identify_report_data.tce_type_number_chinese = res.data.data.tce_type_number_chinese;
            case_identify_report_data.tce_number = res.data.data.tce_number;
            case_identify_report_data.tce_number_chinese = res.data.data.tce_number_chinese;
            case_identify_report_data.tce_number_f = res.data.data.tce_number_f;
            case_identify_report_data.tce_number_f_chinese = res.data.data.tce_number_f_chinese;
            case_identify_report_data.tce_type_number_f = res.data.data.tce_type_number_f;
            case_identify_report_data.tce_type_number_f_chinese = res.data.data.tce_type_number_f_chinese;
            case_identify_report_data.tce_number_t  = res.data.data.tce_number_t ;
            case_identify_report_data.tce_number_t_chinese = res.data.data.tce_number_t_chinese;
            case_identify_report_data.tce_type_number_t = res.data.data.tce_type_number_t;
            case_identify_report_data.staff_evi_identity_time =  res.data.data.staff_evi_identity_time;
            case_identify_report_data.tce_type_number_t_chinese = res.data.data.tce_type_number_t_chinese;
            case_identify_report_data.area_id = res.data.data.area_id;
            case_identify_report_data.list1 = res.data.data.list1;
            case_identify_report_data.list2 = res.data.data.list2;
            case_identify_report_data.list3 = res.data.data.list3;
            case_identify_report_data.list4 = res.data.data.list4;
            case_identify_report_data.list5 = res.data.data.list5;

            evidence_ciga_Data.value = res.data.data.list2
            //案由
            res.data.data.list1.forEach(function (item) {
              case_identify_report_data.illegal_behavior_data = case_identify_report_data.illegal_behavior_data + item.illegal_behavior + '、'
            });
            //所有烟草
            res.data.data.list2.forEach(function (item) {
              case_identify_report_data.ciga_data_all = case_identify_report_data.ciga_data_all + '“' + item.ciga_model + ' ' + item.ciga_variety +
                      '“'+item.evi_number+'条，'
            });
            //所有证据先行保存通知书
            res.data.data.list3.forEach(function (item) {
              case_identify_report_data.evi_data_all = case_identify_report_data.evi_data_all + '侯烟存通字【'+ case_identify_report_data.year +'】第'+
                      item.evi_id_number + '号、'
            });
            // 假

            res.data.data.list5.forEach(function (item) {
              case_identify_report_data.ciga_data_f = case_identify_report_data.ciga_data_f + '“' + item.ciga_model + ' ' + item.ciga_variety +
                      '“'+item.evi_number+'条，'
            });
            if (case_identify_report_data.ciga_data_f !== ""){
              case_identify_report_data.ciga_data_f = case_identify_report_data.ciga_data_f + "共计" + case_identify_report_data.tce_type_number_f_chinese
                      +"品种" + case_identify_report_data.tce_number_f_chinese + "与真品卷烟实物对照样品、技术资料对比存在显著差异，经鉴别为假冒注册商标且伪劣卷烟。"
            }

            // 真烟

            res.data.data.list4.forEach(function (item) {
              case_identify_report_data.ciga_data_t = case_identify_report_data.ciga_data_t + '“' + item.ciga_model + ' ' + item.ciga_variety +
                      '“'+item.evi_number+'条，'
            });

            if (case_identify_report_data.ciga_data_t !== ""){
              case_identify_report_data.ciga_data_t = case_identify_report_data.ciga_data_t + "共计" + case_identify_report_data.tce_type_number_t_chinese
                      +"品种" + case_identify_report_data.tce_number_t_chinese, "与真品卷烟实物对照样品、技术资料对比无显著差异，经鉴别为真品卷烟。"
            }
          }
  )
}
// 打印鉴别报告书
const create_identify_report_word = () =>{
  export_word_4(
          case_identify_report_data.year,
          case_identify_report_data.staff_evi_send_unit,
          case_identify_report_data.staff_evi_send_per_name,
          case_identify_report_data.staff_evi_check_per_name_1,
          case_identify_report_data.staff_evi_check_per_name_2,
          case_identify_report_data.staff_identity_license_no_1,
          case_identify_report_data.staff_identity_license_no_2,
          case_identify_report_data.staff_evi_per_note,
          case_identify_report_data.case_source,
          case_identify_report_data.month,
          case_identify_report_data.day,
          case_identify_report_data.hour,
          case_identify_report_data.ciga_data_t,
          case_identify_report_data.ciga_data_f,
          case_identify_report_data.tir_person,
          case_identify_report_data.tir_id_number,
          case_identify_report_data.mer_address,
          case_identify_report_data.mer_person,
          case_identify_report_data.retail_licence_code,
          case_identify_report_data.area_name,
          case_identify_report_data.mer_name,
          case_identify_report_data.list2,
          case_identify_report_data.tce_type_number_chinese,
          case_identify_report_data.tce_number_chinese,
          case_identify_report_data.list3,
          case_identify_report_data.year1,
          case_identify_report_data.month1,
          case_identify_report_data.day1,
          case_identify_report_data.year2,
          case_identify_report_data.month2,
          case_identify_report_data.day2,
  );
}

//暂存核价表信息
const price_review_data_storage=reactive({
  year:'',
  case_number:'',
  list1:[],
  case_source:'',
  month:'',
  day:'',
  hour:'',
  min:'',
  mer_address:'',
  mer_person:'',
  retail_licence_code:'',
  mer_id_number:'',
  mer_hometown:'',
  area_name:'',
  mer_name:'',
  list2:[],
  tce_type_number:'',
  tce_number:'',
  list3:[],
  tce_amount:'',
  evi_id_number:'',
})

//核价表
const price_tabel_browse = () =>{
  if (create_case.tcs_note_id=="涉案烟草价品核案表完成"||create_case.tcs_note_id=="询问笔录已完成"||
          create_case.tcs_note_id=="调查终结文书已完成"||create_case.tcs_note_id=="集体讨论已完成"||create_case.tcs_note_id=="听证已完成"||
          create_case.tcs_note_id=="案件处理审批已完成"||create_case.tcs_note_id=="行政处罚事先告知书已完成"||create_case.tcs_note_id=="行政处罚决定书已完成"||
          create_case.tcs_note_id=="行政罚款收据已完成"||create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){
    get_review_price_Data(create_case.case_id);
    get_price_review_data_storage();
    Price_list_Browse_Visible.value = true;
  }else{
    alert("涉案烟草专卖品核价表未完成");
  }
}
//获取核价表信息
const get_price_review_data_storage=()=>{
  illegal_record_data(create_case.case_id).then(res=>{
    price_review_data_storage.year=res.data.data.year;
    price_review_data_storage.case_number=res.data.data.case_number;
    price_review_data_storage.list1=res.data.data.list1;
    price_review_data_storage.case_source=res.data.data.case_source;
    price_review_data_storage.month=res.data.data.month;
    price_review_data_storage.day=res.data.data.day;
    price_review_data_storage.hour=res.data.data.hour;
    price_review_data_storage.min=res.data.data.min;
    price_review_data_storage.mer_address=res.data.data.mer_address;
    price_review_data_storage.mer_person=res.data.data.mer_person;
    price_review_data_storage.retail_licence_code=res.data.data.retail_licence_code;
    price_review_data_storage.mer_id_number=res.data.data.mer_id_number;
    price_review_data_storage.mer_hometown=res.data.data.mer_hometown;
    price_review_data_storage.area_name=res.data.data.area_name;
    price_review_data_storage.mer_name=res.data.data.mer_name;
    price_review_data_storage.list2=res.data.data.list2;
    price_review_data_storage.tce_type_number=res.data.data.tce_type_number;
    price_review_data_storage.tce_number=res.data.data.tce_number;
    price_review_data_storage.list3=res.data.data.list3;
    price_review_data_storage.tce_amount=res.data.data.tce_amount;
    price_review_data_storage.evi_id_number=res.data.data.evi_id_number;
  })
}
//核价表信息显示
const get_review_price_Data=(case_id:number)=>{
  evi_Views("",case_id).then(res=>{
    evidence_ciga_Data.value = res.data.data;
  })
}
//打印核价表信息
const review_price_word =() =>{
  illegal_record_data(create_case.case_id).then(res=>{
    export_word_5(
            res.data.data.year,
            res.data.data.case_number,
            res.data.data.list1,
            res.data.data.case_source,
            res.data.data.month,
            res.data.data.day,
            res.data.data.hour,
            res.data.data.min,
            res.data.data.mer_address,
            res.data.data.mer_person,
            res.data.data.retail_licence_code,
            res.data.data.mer_id_number,
            res.data.data.mer_hometown,
            res.data.data.area_name,
            res.data.data.mer_name,
            res.data.data.list2,
            res.data.data.tce_type_number,
            res.data.data.tce_number,
            res.data.data.list3,
            res.data.data.year,
            res.data.data.month,
            res.data.data.day,
            res.data.data.year,
            res.data.data.month,
            res.data.data.day,
            res.data.data.year,
            res.data.data.month,
            res.data.data.day,
            res.data.data.single_total,
            res.data.data.tce_amount,
    )
  })
}

//询问笔录浏览数据
const inquiry_record_browse_data=reactive({
  date_of_filing:'',//案发时间
  tce_address:'',//询问地点 1
  user_id_1:0,//询问人员1编号
  user_name_1:'',//询问人员1
  user_id_2:0,//询问人员2编号
  user_name_2:'',//询问人员2
  staff_license_1:'',
  staff_license_2:'',
  recorder:'',//记录员
  mer_person:'',//被询问人
  gender:'',//被询问人性别
  nation:'',//被询问人民族
  identity_card:'',//身份证号码
  family_address:'',//住址
  business_address:'',//经营地址
  telephone_number:'',//联系电话
  confirm_record:'',//确认记录
  inform_right:'',
  tir_person_answer:'',
  question_answer_list:[],
  end_confirm:'',
})
const inquiry_record_browse = () =>{
  if (create_case.tcs_note_id=="询问笔录已完成"||
          create_case.tcs_note_id=="调查终结文书已完成"||create_case.tcs_note_id=="集体讨论已完成"||create_case.tcs_note_id=="听证已完成"||
          create_case.tcs_note_id=="案件处理审批已完成"||create_case.tcs_note_id=="行政处罚事先告知书已完成"||create_case.tcs_note_id=="行政处罚决定书已完成"||
          create_case.tcs_note_id=="行政罚款收据已完成"||create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){
    get_inquiry_record_browse_data();
    Inquiry_record_list_Browse_Visible.value = true;
  }else{
    alert("询问笔录未完成");
  }

}
//获取询问笔录浏览信息
const get_inquiry_record_browse_data=()=>{
  inquiry_record_print_data(create_case.case_id).then(res=>{
    inquiry_record_browse_data.date_of_filing=res.data.data.inquiry_time;
    inquiry_record_browse_data.tce_address=res.data.data.tce_address;
    inquiry_record_browse_data.user_id_1=res.data.data.user_id_1,//询问人员1编号
            inquiry_record_browse_data.user_name_1=res.data.data.user_name_1,//询问人员1
            inquiry_record_browse_data.user_id_2=res.data.data.user_id_2,//询问人员2编号
            inquiry_record_browse_data.user_name_2=res.data.data.user_name_2,//询问人员2
            inquiry_record_browse_data.recorder=res.data.data.recorder,//记录员
            inquiry_record_browse_data.staff_license_1=res.data.data.staff_license_1;
    inquiry_record_browse_data.staff_license_2=res.data.data.staff_license_2;
    inquiry_record_browse_data.mer_person=res.data.data.tir_person;//被询问人
    inquiry_record_browse_data.gender=res.data.data.tir_gender;//被询问人性别
    inquiry_record_browse_data.nation=res.data.data.tir_nation;//被询问人民族
    inquiry_record_browse_data.identity_card=res.data.data.tir_id_number;//身份证号码
    inquiry_record_browse_data.family_address=res.data.data.tir_home;//住址
    inquiry_record_browse_data.business_address=res.data.data.address;//经营地址
    inquiry_record_browse_data.telephone_number=res.data.data.tel;//联系电话
    inquiry_record_browse_data.confirm_record=res.data.data.confirm_record;//确认记录
    inquiry_record_browse_data.inform_right=res.data.data.inform_right;
    inquiry_record_browse_data.tir_person_answer=res.data.data.tir_person_answer;
    inquiry_record_browse_data.question_answer_list=res.data.data.question_answer_list;
    inquiry_record_browse_data.end_confirm=res.data.data.end_confirm;
  })
}
//打印询问笔录
const inquiry_record_print=()=>{
  inquiry_record_print_data(create_case.case_id).then(res=>{
    export_word_6(
            res.data.data.inquiry_time,
            res.data.data.tce_address,
            res.data.data.user_id_1,
            res.data.data.user_id_2,
            res.data.data.user_name_1,
            res.data.data.user_name_2,
            res.data.data.recorder,
            res.data.data.staff_license_1,
            res.data.data.staff_license_2,
            res.data.data.tir_person,
            res.data.data.tir_gender,
            res.data.data.tir_nation,
            res.data.data.tir_id_number,
            res.data.data.tir_home,
            res.data.data.address,
            res.data.data.tel,
            res.data.data.confirm_record,
            res.data.data.inform_right,
            res.data.data.tir_person_answer,
            res.data.data.question_answer_list,
            res.data.data.end_confirm,
    )
  })
}


//暂存调查终结数据
const case_end_report_data = reactive({
  date_of_filing:'',
  tcs_note:'',
  case_id:0,
  tir_person: "",
  tir_id_number: "",
  tir_home:"",
  tel:"",
  user_id_1: "",
  user_id_2: "",
  user_name_1: "",
  user_name_2: "",
  case_source: "",
  case_number: "",
  mer_id: 0 ,
  year: "",
  month: "",
  day: "",
  hour: "",
  min: "",
  mer_address: "",
  mer_person: "",
  mer_id_number: "",
  mer_hometown: "",
  mer_name: "",
  retail_licence_code: "",
  area_name: "",
  tce_type_number: "",
  tce_type_number_chinese: "",
  tce_number: "",
  tce_amount: "",
  tce_number_chinese: "",
  tce_amount_chinese: "",
  tce_type_number_f: '',
  tce_number_f: '',
  tce_amount_f: '',
  tce_type_number_f_chinese: "",
  tce_number_f_chinese: "",
  tce_amount_f_chinese: "",
  tce_type_number_t: '',
  tce_number_t: "",
  tce_amount_t: "",
  tce_type_number_t_chinese: "",
  tce_number_t_chinese: "",
  tce_amount_t_chinese: "",
  list1:[],
  list2:[],
  list3:[],
  list4:[],
  list5:[],
  list6:[],
  list7:[],
  list8:[],
  cigarette_origin:'',
  violate_law:'',
  illegal_behavior:'',
  punish_basis:'',
  illegal_behavior_data : '',
  ciga_data_all : '',
  ciga_data_t : '',
  ciga_data_f : '',
  evi_data_all : '',
  evi_data_t : '',
  evi_data_f : '',
  evi_ciga_t:'',
  evi_ciga_f:'',
  ciga_amount_t:'',
  ciga_amount_f:'',
  evi_amount_all:'',
})
//调查终结视图
const view_end_report =() =>{
  if (create_case.tcs_note_id=="调查终结文书已完成"||create_case.tcs_note_id=="集体讨论已完成"||create_case.tcs_note_id=="听证已完成"||
          create_case.tcs_note_id=="案件处理审批已完成"||create_case.tcs_note_id=="行政处罚事先告知书已完成"||create_case.tcs_note_id=="行政处罚决定书已完成"||
          create_case.tcs_note_id=="行政罚款收据已完成"||create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){
    get_case_end_report_data(create_case.case_id);
    get_law_punish_illegal_behavior_data();
    View_end_report_Visible.value=true
  }else{
    alert("调查终结文书未完成");
  }

}
//获取调查终结文书中的数据
const get_case_end_report_data= (case_id:number) =>{
  case_end_report_data.case_id = case_id
  case_end_report_data.ciga_data_t = ""
  case_end_report_data.ciga_data_f = ""
  case_end_report_data.evi_data_all = ""
  case_end_report_data.ciga_data_all= ""
  case_end_report_data.evi_data_t = ""
  case_end_report_data.evi_data_f = ""
  case_end_report_data.evi_ciga_t= ""
  case_end_report_data.evi_ciga_f= ""
  case_end_report_data.evi_amount_all= ""
  case_end_report_data.illegal_behavior_data = ""
  case_end_report_data.case_id = case_id
  end_record_data(case_id).then(res=>{
            case_end_report_data.date_of_filing = res.data.data.date_of_filing;
            case_end_report_data.tir_person = res.data.data.tir_person;
            case_end_report_data.tir_id_number = res.data.data.tir_id_number;
            case_end_report_data.tel = res.data.data.tel;
            case_end_report_data.tir_home = res.data.data.tir_home;
            case_end_report_data.user_id_1 = res.data.data.user_id_1;
            case_end_report_data.user_id_2 = res.data.data.user_id_2;
            case_end_report_data.user_name_1 = res.data.data.user_name_1;
            case_end_report_data.user_name_2 = res.data.data.user_name_2;
            case_end_report_data.case_source = res.data.data.case_source;
            case_end_report_data.case_number = res.data.data.case_number;
            case_end_report_data.mer_id = res.data.data.mer_id;
            case_end_report_data.year = res.data.data.year;
            case_end_report_data.month = res.data.data.month;
            case_end_report_data.day = res.data.data.day;
            case_end_report_data.hour = res.data.data.hour;
            case_end_report_data.min = res.data.data.min;
            case_end_report_data.mer_address = res.data.data.mer_address;
            case_end_report_data.mer_person = res.data.data.mer_person;
            case_end_report_data.mer_id_number = res.data.data.mer_id_number;
            case_end_report_data.mer_hometown = res.data.data.mer_hometown;
            case_end_report_data.mer_name = res.data.data.mer_name;
            case_end_report_data.retail_licence_code = res.data.data.retail_licence_code;
            case_end_report_data.area_name = res.data.data.area_name;
            case_end_report_data.tce_type_number = res.data.data.tce_type_number;
            case_end_report_data.tce_type_number_chinese = res.data.data.tce_type_number_chinese;
            case_end_report_data.tce_number = res.data.data.tce_number;
            case_end_report_data.tce_amount = res.data.data.tce_amount;
            case_end_report_data.tce_number_chinese = res.data.data.tce_number_chinese;
            case_end_report_data.tce_amount_chinese = res.data.data.tce_amount_chinese;
            case_end_report_data.tce_number_f = res.data.data.tce_number_f;
            case_end_report_data.tce_amount_f = res.data.data.tce_amount_f;
            case_end_report_data.tce_number_f_chinese = res.data.data.tce_number_f_chinese;
            case_end_report_data.tce_amount_f_chinese = res.data.data.tce_amount_f_chinese;
            case_end_report_data.tce_type_number_f = res.data.data.tce_type_number_f;
            case_end_report_data.tce_type_number_f_chinese = res.data.data.tce_type_number_f_chinese;
            case_end_report_data.tce_number_t  = res.data.data.tce_number_t ;
            case_end_report_data.tce_amount_t = res.data.data.tce_amount;
            case_end_report_data.tce_number_t_chinese = res.data.data.tce_number_t_chinese;
            case_end_report_data.tce_amount_t_chinese = res.data.data.tce_amount_t_chinese;
            case_end_report_data.tce_type_number_t = res.data.data.tce_type_number_t;
            case_end_report_data.tce_type_number_t_chinese = res.data.data.tce_type_number_t_chinese;
            case_end_report_data.list1 = res.data.data.list1;
            case_end_report_data.list2 = res.data.data.list2;
            case_end_report_data.list3 = res.data.data.list3;
            case_end_report_data.list4 = res.data.data.list4;
            case_end_report_data.list5 = res.data.data.list5;
            case_end_report_data.list6 = res.data.data.list6;
            case_end_report_data.list7 = res.data.data.list7;
            case_end_report_data.list8 = res.data.data.list8;
            evidence_ciga_Data.value = res.data.data.list2
            illeg_evi_Data.value = res.data.data.list3
            //案由
            res.data.data.list1.forEach(function (item) {
              case_end_report_data.illegal_behavior_data = case_end_report_data.illegal_behavior_data + item.illegal_behavior + '、'
            });
            //所有烟草
            res.data.data.list2.forEach(function (item) {
              case_end_report_data.ciga_data_all = case_end_report_data.ciga_data_all + '“' + item.ciga_model + ' ' + item.ciga_variety +
                      '“'+item.evi_number+'条，'
            });
            //假烟
            res.data.data.list4.forEach(function (item) {
              case_end_report_data.ciga_data_f = case_end_report_data.ciga_data_f + '“' + item.ciga_model + ' ' + item.ciga_variety +
                      '“'+item.evi_number+'条，'
            });
            //真烟
            res.data.data.list6.forEach(function (item) {
              case_end_report_data.ciga_data_t = case_end_report_data.ciga_data_t + '“' + item.ciga_model + ' ' + item.ciga_variety +
                      '“'+item.evi_number+'条，'
            });
            //所有证据先行保存通知书
            res.data.data.list3.forEach(function (item) {
              case_end_report_data.evi_data_all = case_end_report_data.evi_data_all + '侯烟存通字【'+ case_end_report_data.year +'】第'+
                      item.evi_id_number + '号、'
            });
            //假烟证据保存通知书
            res.data.data.list5.forEach(function (item) {
              case_end_report_data.evi_data_f = case_end_report_data.evi_data_f + '侯烟存通字【'+ case_end_report_data.year +'】第'+
                      item + '号、'
            });
            //真烟证据保存通知书
            res.data.data.list7.forEach(function (item) {
              case_end_report_data.evi_data_t = case_end_report_data.evi_data_t + '侯烟存通字【'+ case_end_report_data.year +'】第'+
                      item + '号、'
            });
            //假烟数据＋先行保存通知书
            if (case_end_report_data.ciga_data_f){
              case_end_report_data.evi_ciga_f = "鉴定卷烟"+ case_end_report_data.ciga_data_f +  "总计"+ case_end_report_data.tce_type_number_f_chinese +
                      "品种" + case_end_report_data.tce_number_f_chinese + "（" + case_end_report_data.evi_data_f +"）为假冒注册商标且伪劣卷烟";
            }

            //真烟数据＋先行保存通知书
            if (case_end_report_data.ciga_data_t){
              case_end_report_data.evi_ciga_t = "鉴定卷烟"+ case_end_report_data.ciga_data_t +  "总计"+ case_end_report_data.tce_type_number_t_chinese +
                      "品种" + case_end_report_data.tce_number_t_chinese + "（" + case_end_report_data.evi_data_t +"）为真品卷烟";
            }

            //真烟价格
            if (case_end_report_data.ciga_data_t){
              case_end_report_data.ciga_amount_t = "核定违法卷烟（真品卷烟）价值计人民币"+case_end_report_data.tce_amount_t_chinese+
                      "(人民币"+case_end_report_data.tce_amount_t+"元)；";
            }

            //假烟价格
            if (case_end_report_data.ciga_data_f){
              case_end_report_data.ciga_amount_f = "核定违法卷烟（假冒注册商标且伪劣卷烟）价值计人民币"+case_end_report_data.tce_amount_f_chinese+
                      "(人民币"+case_end_report_data.tce_amount_f+"元)；";
            }

            //所有案件价值
            res.data.data.list8.forEach(function (item) {
              case_end_report_data.evi_amount_all =  case_end_report_data.evi_amount_all  + "在此次"+item.illegal_behavior+"行为中，违规数量："+item.tce_number_chinese+"，违规金额：人民币"+item.tce_amount_chinese+
                      "(人民币"+item.tce_amount+"元)；"
            });

          }
  )
}
const get_law_punish_illegal_behavior_data=()=>{
  law_punish_illegal_behavior_data(create_case.case_id).then(res=>{
    case_end_report_data.cigarette_origin=res.data.data.cigarette_origin,
            case_end_report_data.violate_law=res.data.data.violate_law,
            case_end_report_data.illegal_behavior=res.data.data.illegal_behavior,
            case_end_report_data.punish_basis=res.data.data.punish_basis
  })
}
// 打印案件调查终结报告
const create_end_report_word = () =>{
  get_case_report_data(case_end_report_data.case_id);
  export_word_7(case_end_report_data.year,
          case_end_report_data.case_number,
          case_end_report_data.list1,
          case_end_report_data.case_source,
          case_end_report_data.month,
          case_end_report_data.day,
          case_end_report_data.hour,
          case_end_report_data.min,
          case_end_report_data.mer_address,
          case_end_report_data.tir_person,
          case_end_report_data.user_name_1,
          case_end_report_data.user_name_2,
          case_end_report_data.user_id_1,
          case_end_report_data.user_id_2,
          case_end_report_data.tir_id_number,
          case_end_report_data.tel,
          case_end_report_data.evi_ciga_f,
          case_end_report_data.evi_ciga_t,
          case_end_report_data.ciga_amount_f,
          case_end_report_data.ciga_amount_t,
          case_end_report_data.tce_amount_chinese,
          case_end_report_data.tce_amount,
          case_end_report_data.retail_licence_code,
          case_end_report_data.mer_id_number,
          case_end_report_data.mer_hometown,
          case_end_report_data.area_name,
          case_end_report_data.mer_name,
          case_end_report_data.list2,
          case_end_report_data.tce_type_number,
          case_end_report_data.tce_type_number_chinese,
          case_end_report_data.tce_number,
          case_end_report_data.list3,
          case_end_report_data.list4,
          case_end_report_data.list5,
          case_end_report_data.list6,
          case_end_report_data.list7,
          case_end_report_data.list8,
          case_end_report_data.illegal_behavior,
          case_end_report_data.punish_basis,
          case_end_report_data.cigarette_origin,
          case_end_report_data.violate_law,
          case_end_report_data.tce_number_chinese
  );
}

//集体讨论信息暂存
const group_discussion_storage_data=reactive({
  case_cause:'',
  case_number:'',
  year:'',
  month:'',
  day:'',
  case_time:'',
  name:'',
  statutory_responsible_person:'',//法定负责人
  address:'',
  tel:'',
  tir_person:'',
  tir_gender:'',
  tir_nation:'',
  tir_id_number:'',
  retail_licence_code:'',
  telephone_number:'',
  crime_number:'',
  mer_address:'',
  mer_name:'',
  tce_type_number_chinese:'',
  tce_number_chinese:'',
  tce_type_number:0,
  tce_number:0,
  evi_data_all:'',//先行保存通知书号
  evi_data_all_1:'',//先行保存批准书号
  conspirator:'',//同案人
  ciga_data_all:'',//卷烟品种
  ciga_data_f:'',//假烟
  ciga_data_t:'',//真烟
  evi_ciga_f:'',
  evi_ciga_t:'',
  tce_amount:0,
  tce_amount_chinese:'',//价格中文写法
  num1:0,
  num2:0,
  year1:'',
  month1:'',
  day1:'',
  year2:'',
  month2:'',
  day2:'',
  // year3:'',
  // month3:'',
  // day3:'',
  tir_home:'',
  undertaker1:'',
  undertaker2:'',
  undertaker1_name:'',
  undertaker2_name:'',
  staff_license_no_1:'',
  staff_license_no_2:'',
  write_time:'',
  cigarette_origin:'',
  violate_law:'',
  punish_basis:'',//处罚依据
  discretionary_standard_name:'',//裁量标准
  discretionary_standard_grade:'',
  discretionary_standard_punish:'',
  discretionary_standard:'',
  penalty_money:'',//罚款
  penalty_decision:'',
  list1:[],
  list2:[],
  list3:[],
  list4:[],
  list5:[],
  list6:[],
  list7:[],
  penalty_money_all:0,
  penalty_money_all_chinese:'',
  tce_type_number_t_chinese: "",
  tce_number_t_chinese: "",
  tce_type_number_f_chinese: "",
  tce_number_f_chinese: "",
  illegal_behavior:'',
  evi_data_t : '',
  evi_data_f : '',
})

const collective_discuss_browse_data=reactive({
  case_cause:'',
  year:'',
  case_number:'',
  tir_person:'',
  year1:'',
  month1:'',
  day1:'',
  hour1:'',
  min1:'',
  year2:'',
  month2:'',
  day2:'',
  hour2:'',
  min2:'',
  discuss_address:'',
  staff_host_name:'',
  host_degree:'',
  recorder_name:'',
  attend_person_all:'',
  sit_attend_person_all:'',
  list1:[],
  list2:[],
  list3:[],
  list4:[],
  judge_whether_discuss:'',//判断是否参加集体讨论
})
// const Judge_collective_discuss=()=>{
//   judge_collective_discuss(create_case.case_id).then(res=>{
//     collective_discuss_browse_data.judge_whether_discuss=res.data.data.judge_whether_discuss
//   })
//
// }

//查看集体讨论信息
const collective_discuss_browse=()=>{
  group_discussion_storage_data.ciga_data_all=''
  group_discussion_storage_data.evi_data_all =''
  group_discussion_storage_data.evi_data_all_1=''
  group_discussion_storage_data.ciga_data_t =''
  group_discussion_storage_data.evi_ciga_t =''
  group_discussion_storage_data.ciga_data_f =''
  group_discussion_storage_data.evi_ciga_f=''
  // Judge_collective_discuss();
  // alert(collective_discuss_browse_data.judge_whether_discuss.length)
  // if (collective_discuss_browse_data.judge_whether_discuss.length>0){
  //   alert("此案件未进行集体讨论或已撤案");
  // }
  if (create_case.tcs_note_id=="集体讨论已完成"||create_case.tcs_note_id=="听证已完成"||
          create_case.tcs_note_id=="案件处理审批已完成"||create_case.tcs_note_id=="行政处罚事先告知书已完成"||create_case.tcs_note_id=="行政处罚决定书已完成"||
          create_case.tcs_note_id=="行政罚款收据已完成"||create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){
    get_collective_discuss_browse_data();
    get_group_discuss_tabel_browse_data();
    Collective_discuss_list_Browse_Visible.value = true;
  }else{
    alert("集体讨论未完成");
  }

}



const get_collective_discuss_browse_data=()=>{
  group_discuss_print_data(create_case.case_id).then(res=>{
    collective_discuss_browse_data.case_cause=res.data.data.case_cause,
            collective_discuss_browse_data.year=res.data.data.year,
            collective_discuss_browse_data.case_number=res.data.data.case_number,
            collective_discuss_browse_data.tir_person=res.data.data.tir_person,
            collective_discuss_browse_data.year1=res.data.data.year1,
            collective_discuss_browse_data.month1=res.data.data.month1,
            collective_discuss_browse_data.day1=res.data.data.day1,
            collective_discuss_browse_data.hour1=res.data.data.hour1,
            collective_discuss_browse_data.min1=res.data.data.min1,
            collective_discuss_browse_data.year2=res.data.data.year2,
            collective_discuss_browse_data.month2=res.data.data.month2,
            collective_discuss_browse_data.day2=res.data.data.day2,
            collective_discuss_browse_data.hour2=res.data.data.hour2,
            collective_discuss_browse_data.min2=res.data.data.min2,
            collective_discuss_browse_data.discuss_address=res.data.data.discuss_address,
            collective_discuss_browse_data.staff_host_name=res.data.data.staff_host_name,
            collective_discuss_browse_data.host_degree=res.data.data.host_degree,
            collective_discuss_browse_data.recorder_name=res.data.data.recorder_name,
            collective_discuss_browse_data.attend_person_all=res.data.data.attend_person_all,
            collective_discuss_browse_data.sit_attend_person_all=res.data.data.sit_attend_person_all,
            collective_discuss_browse_data.list1=res.data.data.list1,
            collective_discuss_browse_data.list2=res.data.data.list2,
            collective_discuss_browse_data.list3=res.data.data.list3,
            collective_discuss_browse_data.list4=res.data.data.list4
  })
}

const get_group_discuss_tabel_browse_data=()=>{
  group_discuss_browse_data(create_case.case_id).then(res=>{
    //case_handing_data_storage.case_cause=res.data.data.case_cause,
    group_discussion_storage_data.illegal_behavior=res.data.data.illegal_behavior
    group_discussion_storage_data.year=res.data.data.year,
            group_discussion_storage_data.month=res.data.data.month,
            group_discussion_storage_data.day=res.data.data.day,
            group_discussion_storage_data.case_number=res.data.data.case_number,
            group_discussion_storage_data.name=res.data.data.name,
            group_discussion_storage_data.statutory_responsible_person=res.data.data.statutory_responsible_person,
            group_discussion_storage_data.address=res.data.data.address,
            group_discussion_storage_data.tel=res.data.data.tel,
            group_discussion_storage_data.tir_person=res.data.data.tir_person,
            group_discussion_storage_data.tir_gender=res.data.data.tir_gender,
            group_discussion_storage_data.tir_nation=res.data.data.tir_nation,
            group_discussion_storage_data.tir_id_number=res.data.data.tir_id_number,
            group_discussion_storage_data.retail_licence_code=res.data.data.retail_licence_code,
            group_discussion_storage_data.tir_home=res.data.data.tir_home,
            group_discussion_storage_data.telephone_number=res.data.data.telephone_number,
            group_discussion_storage_data.conspirator=res.data.data.conspirator,
            group_discussion_storage_data.mer_address=res.data.data.mer_address,
            group_discussion_storage_data.mer_name=res.data.data.mer_name,
            group_discussion_storage_data.list2=res.data.data.list2,
            group_discussion_storage_data.tce_type_number_chinese=res.data.data.tce_type_number_chinese,
            group_discussion_storage_data.tce_number_chinese=res.data.data.tce_number_chinese,
            group_discussion_storage_data.list3=res.data.data.list3,
            group_discussion_storage_data.cigarette_origin=res.data.data.cigarette_origin,
            group_discussion_storage_data.list1=res.data.data.list1,
            group_discussion_storage_data.list4=res.data.data.list4,
            group_discussion_storage_data.list5=res.data.data.list5,
            group_discussion_storage_data.list6=res.data.data.list6,
            group_discussion_storage_data.list7=res.data.data.list7,
            group_discussion_storage_data.violate_law=res.data.data.violate_law,
            group_discussion_storage_data.num1=res.data.data.num1,
            group_discussion_storage_data.punish_basis=res.data.data.punish_basis,
            group_discussion_storage_data.crime_number=res.data.data.crime_number,
            group_discussion_storage_data.tce_amount_chinese=res.data.data.tce_amount_chinese,
            group_discussion_storage_data.tce_amount=res.data.data.tce_amount,
            group_discussion_storage_data.discretionary_standard_name=res.data.data.discretionary_standard_name,
            group_discussion_storage_data.discretionary_standard_grade=res.data.data.discretionary_standard_grade,
            group_discussion_storage_data.discretionary_standard_punish=res.data.data.discretionary_standard_punish,
            group_discussion_storage_data.penalty_decision=res.data.data.penalty_decision,
            group_discussion_storage_data.penalty_money=res.data.data.penalty_money,
            group_discussion_storage_data.penalty_money_all=res.data.data.penalty_money_all,
            group_discussion_storage_data.penalty_money_all_chinese=res.data.data.penalty_money_all_chinese,
            group_discussion_storage_data.tce_type_number_t_chinese=res.data.data.tce_type_number_t_chinese,
            group_discussion_storage_data.tce_type_number_f_chinese=res.data.data.tce_type_number_f_chinese,
            group_discussion_storage_data.undertaker1_name=res.data.data.undertaker1_name,
            group_discussion_storage_data.undertaker2_name=res.data.data.undertaker2_name,
            group_discussion_storage_data.staff_license_no_1=res.data.data.staff_license_no_1,
            group_discussion_storage_data.staff_license_no_2=res.data.data.staff_license_no_2,
            group_discussion_storage_data.year1=res.data.data.year1,
            group_discussion_storage_data.month1=res.data.data.month1,
            group_discussion_storage_data.day1=res.data.data.day1,
            group_discussion_storage_data.year2=res.data.data.year2,
            group_discussion_storage_data.month2=res.data.data.month2,
            group_discussion_storage_data.day2=res.data.data.day2,
            group_discussion_storage_data.tce_number_f_chinese=res.data.data.tce_number_f_chinese,
            group_discussion_storage_data.tce_number_t_chinese=res.data.data.tce_number_t_chinese,
            //所有烟草
            res.data.data.list2.forEach(function (item) {
              group_discussion_storage_data.ciga_data_all = group_discussion_storage_data.ciga_data_all + '“' + item.ciga_model + ' ' + item.ciga_variety +
                      '“'+item.evi_number+'条，'
            });
    //所有证据先行保存通知书
    res.data.data.list3.forEach(function (item) {
      group_discussion_storage_data.evi_data_all = group_discussion_storage_data.evi_data_all + '侯烟存通字【'+ group_discussion_storage_data.year +'】第'+
              item.evi_id_number + '号、'
    });
    //所有证据先行保存通知书
    res.data.data.list3.forEach(function (item) {
      group_discussion_storage_data.evi_data_all_1 = group_discussion_storage_data.evi_data_all_1 + '侯烟存准【'+ group_discussion_storage_data.year +'】第'+
              item.evi_id_number + '号、'
    });

    // 真烟
    res.data.data.list6.forEach(function (item) {
      group_discussion_storage_data.ciga_data_t = group_discussion_storage_data.ciga_data_t + '“' + item.ciga_model + ' ' + item.ciga_variety +
              '“'+item.evi_number+'条，'
    });

    //真烟数据＋先行保存通知书
    if (group_discussion_storage_data.ciga_data_t){
      group_discussion_storage_data.evi_ciga_t = "鉴定卷烟"+ group_discussion_storage_data.ciga_data_t +  "总计"+ group_discussion_storage_data.tce_type_number_t_chinese +
              "品种" + group_discussion_storage_data.tce_number_t_chinese + group_discussion_storage_data.evi_data_t +"为真品卷烟";
    }
    res.data.data.list4.forEach(function (item) {
      group_discussion_storage_data.ciga_data_f = group_discussion_storage_data.ciga_data_f + '“' + item.ciga_model + ' ' + item.ciga_variety +
              '“'+item.evi_number+'条，'
    });
    //假烟数据＋先行保存通知书
    if (group_discussion_storage_data.ciga_data_f){
      group_discussion_storage_data.evi_ciga_f = "鉴定卷烟"+ group_discussion_storage_data.ciga_data_f +  "总计"+ group_discussion_storage_data.tce_type_number_f_chinese+
              "品种" + group_discussion_storage_data.tce_number_f_chinese  + group_discussion_storage_data.evi_data_f +"为假冒注册商标且伪劣卷烟";
    }

  })
}
const group_discuss_print=()=>{
    export_word_11(
        collective_discuss_browse_data.case_cause,
        collective_discuss_browse_data.year,
        collective_discuss_browse_data.case_number,
        collective_discuss_browse_data.tir_person,
        collective_discuss_browse_data.year1,
        collective_discuss_browse_data.month1,
        collective_discuss_browse_data.day1,
        collective_discuss_browse_data.hour1,
        collective_discuss_browse_data.min1,
        collective_discuss_browse_data.year2,
        collective_discuss_browse_data.month2,
        collective_discuss_browse_data.day2,
        collective_discuss_browse_data.hour2,
        collective_discuss_browse_data.min2,
        collective_discuss_browse_data.discuss_address,
        collective_discuss_browse_data.staff_host_name,
        collective_discuss_browse_data.host_degree,
        collective_discuss_browse_data.recorder_name,
        collective_discuss_browse_data.attend_person_all,
        collective_discuss_browse_data.sit_attend_person_all,
        collective_discuss_browse_data.list1,
        group_discussion_storage_data.list2,
        group_discussion_storage_data.year,
        group_discussion_storage_data.month,
        group_discussion_storage_data.day,
        group_discussion_storage_data.mer_address,
        group_discussion_storage_data.mer_name,
        group_discussion_storage_data.tce_type_number_chinese,
        group_discussion_storage_data.tce_number_chinese,
        group_discussion_storage_data.illegal_behavior,
        group_discussion_storage_data.list3,
        group_discussion_storage_data.cigarette_origin,
        group_discussion_storage_data.list6,
        group_discussion_storage_data.tce_type_number_t_chinese,
        group_discussion_storage_data.tce_number_t_chinese,
        group_discussion_storage_data.list4,
        group_discussion_storage_data.tce_type_number_f_chinese,
        group_discussion_storage_data.tce_number_f_chinese,
        group_discussion_storage_data.tce_amount_chinese,
        group_discussion_storage_data.tce_amount,
        group_discussion_storage_data.num1,
        group_discussion_storage_data.violate_law,
        collective_discuss_browse_data.list2,
        collective_discuss_browse_data.list3,
        collective_discuss_browse_data.list4,
    )
}

//听证告知书暂存记录
const hearing_notice_data_storage=reactive({
  illegal_behavior:'',//违法行为
  tir_person:'',
  violate_law:'',//违反法律
  penalty_decision:'',//处罚决定
  undertaker1:'',//承办人1
  undertaker2:'',//承办人2
  hearing_time:'',
  hearing_notice_content:'',
  bureau_address:'福建省福州市闽侯县甘蔗街道滨城大道69号闽商财富中心一楼',
  postal_code:'350100',
  telephone_number:'0591-62080093',
  undertaker1_name:'',
  undertaker2_name:'',
  staff_license_no1:'',
  staff_license_no2:'',
  year:'',
  month:'',
  day:'',
  year1:'',
  month1:'',
  day1:'',
  case_number:'',
  punish_basis:'',
})

//听证告知书
const hearing_notice_browse=(row:any)=>{
  if (create_case.tcs_note_id=="听证已完成"||
          create_case.tcs_note_id=="案件处理审批已完成"||create_case.tcs_note_id=="行政处罚事先告知书已完成"||create_case.tcs_note_id=="行政处罚决定书已完成"||
          create_case.tcs_note_id=="行政罚款收据已完成"||create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){
    get_hearing_notice_browse_data();
    Hearing_notice_Borwse_Visible.value=true;
  }else{
    alert("听证未完成");
  }

}
const get_hearing_notice_browse_data=()=>{
  hearing_notice_browse_data(create_case.case_id).then(res=>{
    hearing_notice_data_storage.illegal_behavior=res.data.data.illegal_behavior;
    hearing_notice_data_storage.tir_person=res.data.data.tir_person;
    hearing_notice_data_storage.violate_law=res.data.data.violate_law;
    hearing_notice_data_storage.penalty_decision=res.data.data.penalty_decision;
    hearing_notice_data_storage.punish_basis=res.data.data.punish_basis;
    hearing_notice_data_storage.bureau_address=res.data.data.bureau_address;
    hearing_notice_data_storage.postal_code=res.data.data.postal_code;
    hearing_notice_data_storage.telephone_number=res.data.data.telephone_number;
    hearing_notice_data_storage.undertaker1_name=res.data.data.undertaker1_name;
    hearing_notice_data_storage.undertaker2_name=res.data.data.undertaker2_name;
    hearing_notice_data_storage.staff_license_no1=res.data.data.staff_license_no1;
    hearing_notice_data_storage.staff_license_no2=res.data.data.staff_license_no2;
    hearing_notice_data_storage.year=res.data.data.year;
    hearing_notice_data_storage.month=res.data.data.month;
    hearing_notice_data_storage.day=res.data.data.day;
    hearing_notice_data_storage.year1=res.data.data.year1;
    hearing_notice_data_storage.month1=res.data.data.month1;
    hearing_notice_data_storage.day1=res.data.data.day1;
    hearing_notice_data_storage.case_number=res.data.data.case_number;

  })
}
const create_hearing_notice_word=()=>{
  hearing_notice_browse_data(create_case.case_id).then(res=>{
    export_word_12(
            res.data.data.illegal_behavior,
            res.data.data.tir_person,
            res.data.data.violate_law,
            res.data.data.penalty_decision,
            res.data.data.bureau_address,
            res.data.data.postal_code,
            res.data.data.telephone_number,
            res.data.data.undertaker1_name,
            res.data.data.undertaker2_name,
            res.data.data.staff_license_no1,
            res.data.data.staff_license_no2,
            res.data.data.year,
            res.data.data.month,
            res.data.data.day,
            res.data.data.year1,
            res.data.data.month1,
            res.data.data.day1,
            res.data.data.case_number
    )
  })
}

//案件处理审批表暂存数据
const case_handing_data_storage=reactive({
  case_cause:'',
  case_number:'',
  year:'',
  month:'',
  day:'',
  case_time:'',
  name:'',
  statutory_responsible_person:'',//法定负责人
  address:'',
  tel:'',
  tir_person:'',
  tir_gender:'',
  tir_nation:'',
  tir_id_number:'',
  retail_licence_code:'',
  telephone_number:'',
  crime_number:'',
  mer_address:'',
  mer_name:'',
  tce_type_number_chinese:'',
  tce_number_chinese:'',
  tce_type_number:0,
  tce_number:0,
  evi_data_all:'',//先行保存通知书号
  evi_data_all_1:'',//先行保存批准书号
  conspirator:'',//同案人
  ciga_data_all:'',//卷烟品种
  ciga_data_f:'',//假烟
  ciga_data_t:'',//真烟
  evi_ciga_f:'',
  evi_ciga_t:'',
  tce_amount:0,
  tce_amount_chinese:'',//价格中文写法
  num1:0,
  num2:0,
  year1:'',
  month1:'',
  day1:'',
  year2:'',
  month2:'',
  day2:'',
  // year3:'',
  // month3:'',
  // day3:'',
  tir_home:'',
  undertaker1:'',
  undertaker2:'',
  undertaker1_name:'',
  undertaker2_name:'',
  staff_license_no_1:'',
  staff_license_no_2:'',
  write_time:'',
  cigarette_origin:'',
  violate_law:'',
  punish_basis:'',//处罚依据
  discretionary_standard_name:'',//裁量标准
  discretionary_standard_grade:'',
  discretionary_standard_punish:'',
  discretionary_standard:'',
  penalty_money:'',//罚款
  penalty_decision:'',
  list1:[],
  list2:[],
  list3:[],
  list4:[],
  list5:[],
  list6:[],
  list7:[],
  penalty_money_all:0,
  penalty_money_all_chinese:'',
  tce_type_number_t_chinese: "",
  tce_number_t_chinese: "",
  tce_type_number_f_chinese: "",
  tce_number_f_chinese: "",
  illegal_behavior:'',
  evi_data_t : '',
  evi_data_f : '',
})
//案件处理审批
const case_handling_tabel_browse = () =>{
  case_handing_data_storage.ciga_data_all=''
  case_handing_data_storage.evi_data_all =''
  case_handing_data_storage.evi_data_all_1=''
  case_handing_data_storage.ciga_data_t =''
  case_handing_data_storage.evi_ciga_t =''
  case_handing_data_storage.ciga_data_f =''
  case_handing_data_storage.evi_ciga_f=''
  if (create_case.tcs_note_id=="案件处理审批已完成"||create_case.tcs_note_id=="行政处罚事先告知书已完成"||create_case.tcs_note_id=="行政处罚决定书已完成"||
          create_case.tcs_note_id=="行政罚款收据已完成"||create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){
    get_case_handing_browse_data();
    View_case_handing_Visible.value=true;
  }else{
    alert("案件处理审批未完成");
  }


}
//获取案件处理审批表预览和打印数据
const get_case_handing_browse_data=()=>{
  case_handing_browse_data(create_case.case_id).then(res=>{
    //case_handing_data_storage.case_cause=res.data.data.case_cause,
    case_handing_data_storage.illegal_behavior=res.data.data.illegal_behavior
    case_handing_data_storage.year=res.data.data.year,
            case_handing_data_storage.month=res.data.data.month,
            case_handing_data_storage.day=res.data.data.day,
            case_handing_data_storage.case_number=res.data.data.case_number,
            case_handing_data_storage.name=res.data.data.name,
            case_handing_data_storage.statutory_responsible_person=res.data.data.statutory_responsible_person,
            case_handing_data_storage.address=res.data.data.address,
            case_handing_data_storage.tel=res.data.data.tel,
            case_handing_data_storage.tir_person=res.data.data.tir_person,
            case_handing_data_storage.tir_gender=res.data.data.tir_gender,
            case_handing_data_storage.tir_nation=res.data.data.tir_nation,
            case_handing_data_storage.tir_id_number=res.data.data.tir_id_number,
            case_handing_data_storage.retail_licence_code=res.data.data.retail_licence_code,
            case_handing_data_storage.tir_home=res.data.data.tir_home,
            case_handing_data_storage.telephone_number=res.data.data.telephone_number,
            case_handing_data_storage.conspirator=res.data.data.conspirator,
            case_handing_data_storage.mer_address=res.data.data.mer_address,
            case_handing_data_storage.mer_name=res.data.data.mer_name,
            case_handing_data_storage.list2=res.data.data.list2,
            case_handing_data_storage.tce_type_number_chinese=res.data.data.tce_type_number_chinese,
            case_handing_data_storage.tce_number_chinese=res.data.data.tce_number_chinese,
            case_handing_data_storage.list3=res.data.data.list3,
            case_handing_data_storage.cigarette_origin=res.data.data.cigarette_origin,
            case_handing_data_storage.list1=res.data.data.list1,
            case_handing_data_storage.list4=res.data.data.list4,
            case_handing_data_storage.list5=res.data.data.list5,
            case_handing_data_storage.list6=res.data.data.list6,
            case_handing_data_storage.list7=res.data.data.list7,
            case_handing_data_storage.violate_law=res.data.data.violate_law,
            case_handing_data_storage.num1=res.data.data.num1,
            case_handing_data_storage.punish_basis=res.data.data.punish_basis,
            case_handing_data_storage.crime_number=res.data.data.crime_number,
            case_handing_data_storage.tce_amount_chinese=res.data.data.tce_amount_chinese,
            case_handing_data_storage.tce_amount=res.data.data.tce_amount,
            case_handing_data_storage.discretionary_standard_name=res.data.data.discretionary_standard_name,
            case_handing_data_storage.discretionary_standard_grade=res.data.data.discretionary_standard_grade,
            case_handing_data_storage.discretionary_standard_punish=res.data.data.discretionary_standard_punish,
            case_handing_data_storage.penalty_decision=res.data.data.penalty_decision,
            case_handing_data_storage.penalty_money=res.data.data.penalty_money,
            case_handing_data_storage.penalty_money_all=res.data.data.penalty_money_all,
            case_handing_data_storage.penalty_money_all_chinese=res.data.data.penalty_money_all_chinese,
            case_handing_data_storage.tce_type_number_t_chinese=res.data.data.tce_type_number_t_chinese,
            case_handing_data_storage.tce_type_number_f_chinese=res.data.data.tce_type_number_f_chinese,
            case_handing_data_storage.undertaker1_name=res.data.data.undertaker1_name,
            case_handing_data_storage.undertaker2_name=res.data.data.undertaker2_name,
            case_handing_data_storage.staff_license_no_1=res.data.data.staff_license_no_1,
            case_handing_data_storage.staff_license_no_2=res.data.data.staff_license_no_2,
            case_handing_data_storage.year1=res.data.data.year1,
            case_handing_data_storage.month1=res.data.data.month1,
            case_handing_data_storage.day1=res.data.data.day1,
            case_handing_data_storage.year2=res.data.data.year2,
            case_handing_data_storage.month2=res.data.data.month2,
            case_handing_data_storage.day2=res.data.data.day2,
            case_handing_data_storage.tce_number_f_chinese=res.data.data.tce_number_f_chinese,
            case_handing_data_storage.tce_number_t_chinese=res.data.data.tce_number_t_chinese,
            //所有烟草
            res.data.data.list2.forEach(function (item) {
              case_handing_data_storage.ciga_data_all = case_handing_data_storage.ciga_data_all + '“' + item.ciga_model + ' ' + item.ciga_variety +
                      '“'+item.evi_number+'条，'
            });
    //所有证据先行保存通知书
    res.data.data.list3.forEach(function (item) {
      case_handing_data_storage.evi_data_all = case_handing_data_storage.evi_data_all + '侯烟存通字【'+ case_handing_data_storage.year +'】第'+
              item.evi_id_number + '号、'
    });
    //所有证据先行保存通知书
    res.data.data.list3.forEach(function (item) {
      case_handing_data_storage.evi_data_all_1 = case_handing_data_storage.evi_data_all_1 + '侯烟存准【'+ case_handing_data_storage.year +'】第'+
              item.evi_id_number + '号、'
    });

    // 真烟
    res.data.data.list6.forEach(function (item) {
      case_handing_data_storage.ciga_data_t = case_handing_data_storage.ciga_data_t + '“' + item.ciga_model + ' ' + item.ciga_variety +
              '“'+item.evi_number+'条，'
    });

    //真烟数据＋先行保存通知书
    if (case_handing_data_storage.ciga_data_t){
      case_handing_data_storage.evi_ciga_t = "鉴定卷烟"+ case_handing_data_storage.ciga_data_t +  "总计"+ case_handing_data_storage.tce_type_number_t_chinese +
              "品种" + case_handing_data_storage.tce_number_t_chinese + case_handing_data_storage.evi_data_t +"为真品卷烟";
    }
    res.data.data.list4.forEach(function (item) {
      case_handing_data_storage.ciga_data_f = case_handing_data_storage.ciga_data_f + '“' + item.ciga_model + ' ' + item.ciga_variety +
              '“'+item.evi_number+'条，'
    });
    //假烟数据＋先行保存通知书
    if (case_handing_data_storage.ciga_data_f){
      case_handing_data_storage.evi_ciga_f = "鉴定卷烟"+ case_handing_data_storage.ciga_data_f +  "总计"+ case_handing_data_storage.tce_type_number_f_chinese+
              "品种" + case_handing_data_storage.tce_number_f_chinese  + case_handing_data_storage.evi_data_f +"为假冒注册商标且伪劣卷烟";
    }

  })
}
const create_case_handing_word=()=>{
  case_handing_browse_data(create_case.case_id).then(res=>{
    case_handing_data_storage.list2=res.data.data.list2,
            case_handing_data_storage.list3=res.data.data.list3,
            case_handing_data_storage.list1=res.data.data.list1,
            case_handing_data_storage.list4=res.data.data.list4,
            case_handing_data_storage.list5=res.data.data.list5,
            case_handing_data_storage.list6=res.data.data.list6,
            case_handing_data_storage.list7=res.data.data.list7,
            //所有烟草
            res.data.data.list2.forEach(function (item) {
              case_handing_data_storage.ciga_data_all = case_handing_data_storage.ciga_data_all + '“' + item.ciga_model + ' ' + item.ciga_variety +
                      '“'+item.evi_number+'条，'
            });
    //所有证据先行保存通知书
    res.data.data.list3.forEach(function (item) {
      case_handing_data_storage.evi_data_all = case_handing_data_storage.evi_data_all + '侯烟存通字【'+ case_handing_data_storage.year +'】第'+
              item.evi_id_number + '号、'
    });
    //所有证据先行保存通知书
    res.data.data.list3.forEach(function (item) {
      case_handing_data_storage.evi_data_all_1 = case_handing_data_storage.evi_data_all_1 + '侯烟存准【'+ case_handing_data_storage.year +'】第'+
              item.evi_id_number + '号、'
    });

    // 真烟
    res.data.data.list6.forEach(function (item) {
      case_handing_data_storage.ciga_data_t = case_handing_data_storage.ciga_data_t + '“' + item.ciga_model + ' ' + item.ciga_variety +
              '“'+item.evi_number+'条，'
    });

    //真烟数据＋先行保存通知书
    if (case_handing_data_storage.ciga_data_t){
      case_handing_data_storage.evi_ciga_t = "鉴定卷烟"+ case_handing_data_storage.ciga_data_t +  "总计"+ case_handing_data_storage.tce_type_number_t_chinese +
              "品种" + case_handing_data_storage.tce_number_t_chinese + case_handing_data_storage.evi_data_t +"为真品卷烟";
    }
    res.data.data.list4.forEach(function (item) {
      case_handing_data_storage.ciga_data_f = case_handing_data_storage.ciga_data_f + '“' + item.ciga_model + ' ' + item.ciga_variety +
              '“'+item.evi_number+'条，'
    });
    //假烟数据＋先行保存通知书
    if (case_handing_data_storage.ciga_data_f){
      case_handing_data_storage.evi_ciga_f = "鉴定卷烟"+ case_handing_data_storage.ciga_data_f +  "总计"+ case_handing_data_storage.tce_type_number_f_chinese
              + case_handing_data_storage.tce_number_f_chinese + "（" + case_handing_data_storage.evi_data_f +"为假冒注册商标且伪劣卷烟";
    }
    export_word_14(
            res.data.data.illegal_behavior,
            res.data.data.year,
            res.data.data.month,
            res.data.data.day,
            res.data.data.case_number,
            res.data.data.name,
            res.data.data.statutory_responsible_person,
            res.data.data.address,
            res.data.data.tel,
            res.data.data.tir_person,
            res.data.data.tir_gender,
            res.data.data.tir_nation,
            res.data.data.tir_id_number,
            res.data.data.retail_licence_code,
            res.data.data.tir_home,
            res.data.data.telephone_number,
            res.data.data.conspirator,
            res.data.data.mer_address,
            res.data.data.mer_name,
            res.data.data.tce_type_number_chinese,
            res.data.data.tce_number_chinese,
            res.data.data.year1,
            res.data.data.month1,
            res.data.data.day1,
            res.data.data.cigarette_origin,
            res.data.data.violate_law,
            res.data.data.num1,
            res.data.data.punish_basis,
            res.data.data.crime_number,
            res.data.data.tce_amount_chinese,
            res.data.data.tce_amount,
            res.data.data.discretionary_standard_name,
            res.data.data.discretionary_standard_grade,
            res.data.data.discretionary_standard_punish,
            res.data.data.penalty_decision,
            res.data.data.penalty_money,
            res.data.data.penalty_money_all,
            res.data.data.penalty_money_all_chinese,
            res.data.data.undertaker1_name,
            res.data.data.undertaker2_name,
            res.data.data.staff_license_no_1,
            res.data.data.staff_license_no_2,
            res.data.data.year2,
            res.data.data.month2,
            res.data.data.day2,
            res.data.data.tce_number_f_chinese,
            res.data.data.tce_number_t_chinese,
            res.data.data.list1,
            res.data.data.list2,
            res.data.data.list3,
            res.data.data.list4,
            res.data.data.list5,
            res.data.data.list6,
            res.data.data.list7,
            case_handing_data_storage.ciga_data_all,
            case_handing_data_storage.evi_data_all,
            case_handing_data_storage.evi_data_all_1,
            case_handing_data_storage.ciga_data_t,
            case_handing_data_storage.evi_ciga_t,
            case_handing_data_storage.ciga_data_f,
            case_handing_data_storage.evi_ciga_f,
            res.data.data.tce_type_number_t_chinese,
            res.data.data.tce_type_number_f_chinese,
    )
  })
}

//行政处罚事先告知书暂存数据
const advance_notice_penalty_data = reactive({
  //case_id:0,
  tir_person: '',
  tir_id_number:'',
  tir_nation:'',
  tir_gender:'',
  tir_home:'',
  mer_hometown:'',
  retail_licence_code:'',
  illegal_behavior:'',
  case_number:'',
  date_of_filing:'',
  tir_age:'',
  year:'',
  month:'',
  day:'',
  violate_law:'',
  bureau_penalty:'',
  user_id_1:0,//询问人员1编号
  user_name_1:'',//询问人员1
  user_id_2:0,//询问人员2编号
  user_name_2:'',//询问人员2
  staff_license_no1:'',
  staff_license_no2:'',
  punish_basis:'',
  // evi_id_number:'',
})
const advance_notice_browse=()=>{
  if (create_case.tcs_note_id=="行政处罚事先告知书已完成"||create_case.tcs_note_id=="行政处罚决定书已完成"||
          create_case.tcs_note_id=="行政罚款收据已完成"||create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){
    get_advance_notice_browse_data();
    Advance_notice_penalty_Visible.value=true;
  }else{
    alert("行政处罚事先告知书未完成");
  }

}
const get_advance_notice_browse_data=()=>{
  advance_penalty_data(create_case.case_id).then(res=>{
    advance_notice_penalty_data.tir_person=res.data.data.tir_person;
    advance_notice_penalty_data.tir_id_number=res.data.data.tir_id_number;
    advance_notice_penalty_data.tir_nation=res.data.data.tir_nation;
    advance_notice_penalty_data.tir_gender=res.data.data.tir_gender;
    advance_notice_penalty_data.tir_home=res.data.data.tir_home;
    advance_notice_penalty_data.mer_hometown=res.data.data.mer_hometown;
    advance_notice_penalty_data.retail_licence_code=res.data.data.retail_licence_code;
    advance_notice_penalty_data.illegal_behavior=res.data.data.illegal_behavior;
    advance_notice_penalty_data.case_number=res.data.data.case_number;
    advance_notice_penalty_data.date_of_filing=res.data.data.date_of_filing;
    advance_notice_penalty_data.year=res.data.data.year;
    advance_notice_penalty_data.tir_age=res.data.data.tir_age;
    advance_notice_penalty_data.punish_basis=res.data.data.punish_basis;
    advance_notice_penalty_data.month=res.data.data.month;
    advance_notice_penalty_data.day=res.data.data.day;
    advance_notice_penalty_data.violate_law=res.data.data.violate_law;
    advance_notice_penalty_data.bureau_penalty=res.data.data.bureau_penalty;
    advance_notice_penalty_data.user_id_1=res.data.data.user_id_1;
    advance_notice_penalty_data.user_id_2=res.data.data.user_id_2;
    advance_notice_penalty_data.user_name_1=res.data.data.user_name_1;
    advance_notice_penalty_data.user_name_2=res.data.data.user_name_2;
    advance_notice_penalty_data.staff_license_no1=res.data.data.staff_license_no1;
    advance_notice_penalty_data.staff_license_no2=res.data.data.staff_license_no2;
  })
}

const create_advance_notice_penalty_word=()=>{
  export_word_15(
          advance_notice_penalty_data.tir_person,
          advance_notice_penalty_data.tir_id_number,
          advance_notice_penalty_data.tir_nation,
          advance_notice_penalty_data.tir_gender,
          advance_notice_penalty_data.tir_home,
          advance_notice_penalty_data.mer_hometown,
          advance_notice_penalty_data.retail_licence_code,
          advance_notice_penalty_data.illegal_behavior,
          advance_notice_penalty_data.punish_basis,
          advance_notice_penalty_data.tir_age,
          advance_notice_penalty_data.case_number,
          advance_notice_penalty_data.date_of_filing,
          advance_notice_penalty_data.year,
          advance_notice_penalty_data.month,
          advance_notice_penalty_data.day,
          advance_notice_penalty_data.violate_law,
          advance_notice_penalty_data.bureau_penalty,
          advance_notice_penalty_data.user_id_1,
          advance_notice_penalty_data.user_id_2,
          advance_notice_penalty_data.user_name_1,
          advance_notice_penalty_data.user_name_2,
          advance_notice_penalty_data.staff_license_no1,
          advance_notice_penalty_data.staff_license_no2,
  )
}

//行政处罚决定书暂存数据
const administration_punish_decision_data = reactive({
  //case_id:0,
  tir_person: '',
  tir_id_number:'',
  tir_nation:'',
  tir_gender:'',
  tir_home:'',
  mer_hometown:'',
  retail_licence_code:'',
  illegal_behavior:'',
  case_number:'',
  date_of_filing:'',
  tir_age:'',
  year:'',
  month:'',
  day:'',
  violate_law:'',
  bureau_penalty:'',
  user_id_1:0,//询问人员1编号
  user_name_1:'',//询问人员1
  user_id_2:0,//询问人员2编号
  user_name_2:'',//询问人员2
  staff_license_no1:'',
  staff_license_no2:'',
  punish_basis:'',
  // evi_id_number:'',
  case_cause:'',
  case_time:'',
  name:'',
  statutory_responsible_person:'',//法定负责人
  address:'',
  tel:'',
  telephone_number:'',
  crime_number:'',
  mer_address:'',
  mer_name:'',
  tce_type_number_chinese:'',
  tce_number_chinese:'',
  tce_type_number:0,
  tce_number:0,
  evi_data_all:'',//先行保存通知书号
  evi_data_all_1:'',//先行保存批准书号
  conspirator:'',//同案人
  ciga_data_all:'',//卷烟品种
  ciga_data_f:'',//假烟
  ciga_data_t:'',//真烟
  evi_ciga_f:'',
  evi_ciga_t:'',
  tce_amount:0,
  tce_amount_chinese:'',//价格中文写法
  num1:0,
  num2:0,
  year1:'',
  month1:'',
  day1:'',
  year2:'',
  month2:'',
  day2:'',
  year3:'',
  month3:'',
  day3:'',
  hour3:'',
  min3:'',
  year4:'',
  month4:'',
  day4:'',
  undertaker1:'',
  undertaker2:'',
  undertaker1_name:'',
  undertaker2_name:'',
  staff_license_no_1:'',
  staff_license_no_2:'',
  write_time:'',
  cigarette_origin:'',
  discretionary_standard_name:'',//裁量标准
  discretionary_standard_grade:'',
  discretionary_standard_punish:'',
  discretionary_standard:'',
  penalty_money:'',//罚款
  penalty_decision:'',
  list1:[],
  list2:[],
  list3:[],
  list4:[],
  list5:[],
  list6:[],
  list7:[],
  penalty_money_all:0,
  penalty_money_all_chinese:'',
  tce_type_number_t_chinese: "",
  tce_number_t_chinese: "",
  tce_type_number_f_chinese: "",
  tce_number_f_chinese: "",
  evi_data_t : '',
  evi_data_f : '',
  finally_penalty:'',
  other_content:'',
  arrive_type:'',
})

const punish_decision_browse=()=>{

  administration_punish_decision_data.ciga_data_all=''
  administration_punish_decision_data.evi_data_all =''
  administration_punish_decision_data.evi_data_all_1=''
  administration_punish_decision_data.ciga_data_t =''
  administration_punish_decision_data.evi_ciga_t =''
  administration_punish_decision_data.ciga_data_f =''
  administration_punish_decision_data.evi_ciga_f=''
  if (create_case.tcs_note_id=="行政处罚决定书已完成"||
          create_case.tcs_note_id=="行政罚款收据已完成"||create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){

    View_Punish_decision_Visible.value=true;
  }else{
    alert("行政处罚决定书未完成");
  }

}

const administrative_punish_decision=()=>{
  get_punish_decision_browse_data();
  Punish_decision_Browse_Visible.value=true;
}

const punish_arrive_document_browse=()=>{
  get_punish_arrive_document_browse();
  View_Punish_arrive_document_Visible.value=true;
}
const punish_arrive_document_print=()=>{
  arrive_document_print_data(create_case.case_id,punish_arrive_document_data.arrive_document_name).then(res=>{
    export_word_18(
            res.data.data.year,
            res.data.data.case_number,
            res.data.data.arrive_document_name,
            res.data.data.arrive_number,
            res.data.data.addressee,
            res.data.data.arrive_place,
            res.data.data.service_mode,
            res.data.data.receipt_signature,
            res.data.data.year1,
            res.data.data.month1,
            res.data.data.day1,
            res.data.data.hour1,
            res.data.data.min1,
            res.data.data.year2,
            res.data.data.month2,
            res.data.data.day2,
            res.data.data.hour2,
            res.data.data.min2,
            res.data.data.subsitute_reason,
            res.data.data.witness_signature,
            res.data.data.staff_name1,
            res.data.data.staff_license_no1,
            res.data.data.staff_name2,
            res.data.data.staff_license_no2,
            res.data.data.remarks
    )
  })
}

//行政处罚事先告知书送达文书暂存数据
const punish_arrive_document_data=reactive({
  arrive_document_name:'行政处罚决定书',
  addressee:'',//受送达人
  arrive_number:'',
  arrive_place:'',//送达地点
  service_mode:'直接送达',//送达方式
  receipt_signature:'',
  receipt_time:'',//签收时间
  subsitute_reason:'',
  witness_signature:'',
  arrive_person1:'',
  arrive_person2:'',//送达人
  arrive_time:'',//送达时间
  remarks:'',//备注
  year:'',
  case_number:'',
  year1:'',
  month1:'',
  day1:'',
  hour1:'',
  min1:'',
  year2:'',
  month2:'',
  day2:'',
  hour2:'',
  min2:'',
  staff_name1:'',
  staff_license_no1:'',
  staff_name2:'',
  staff_license_no2:'',
})

const get_punish_arrive_document_browse=()=>{
  arrive_document_print_data(create_case.case_id,punish_arrive_document_data.arrive_document_name).then(res=>{
    punish_arrive_document_data.year=res.data.data.year,
            punish_arrive_document_data.case_number=res.data.data.case_number,
            punish_arrive_document_data.arrive_document_name=res.data.data.arrive_document_name,
            punish_arrive_document_data.arrive_number=res.data.data.arrive_number,
            punish_arrive_document_data.addressee=res.data.data.addressee,
            punish_arrive_document_data.arrive_place=res.data.data.arrive_place,
            punish_arrive_document_data.service_mode=res.data.data.service_mode,
            punish_arrive_document_data.receipt_signature=res.data.data.receipt_signature,
            punish_arrive_document_data.year1=res.data.data.year1,
            punish_arrive_document_data.month1=res.data.data.month1,
            punish_arrive_document_data.day1=res.data.data.day1,
            punish_arrive_document_data.hour1=res.data.data.hour1,
            punish_arrive_document_data.min1=res.data.data.min1,
            punish_arrive_document_data.year2=res.data.data.year2,
            punish_arrive_document_data.month2=res.data.data.month2,
            punish_arrive_document_data.day2=res.data.data.day2,
            punish_arrive_document_data.hour2=res.data.data.hour2,
            punish_arrive_document_data.min2=res.data.data.min2,
            punish_arrive_document_data.subsitute_reason=res.data.data.subsitute_reason,
            punish_arrive_document_data.witness_signature=res.data.data.witness_signature,
            punish_arrive_document_data.staff_name1=res.data.data.staff_name1,
            punish_arrive_document_data.staff_license_no1=res.data.data.staff_license_no1,
            punish_arrive_document_data.staff_name2=res.data.data.staff_name2,
            punish_arrive_document_data.staff_license_no2=res.data.data.staff_license_no2,
            punish_arrive_document_data.remarks=res.data.data.remarks
  })
}

//获取案件处理审批表预览和打印数据
const get_punish_decision_browse_data=()=>{
  punish_decision_browse_data(create_case.case_id).then(res=>{
    //case_handing_data_storage.case_cause=res.data.data.case_cause,
    administration_punish_decision_data.illegal_behavior=res.data.data.illegal_behavior
    administration_punish_decision_data.year=res.data.data.year,
            administration_punish_decision_data.month=res.data.data.month,
            administration_punish_decision_data.day=res.data.data.day,
            administration_punish_decision_data.case_number=res.data.data.case_number,
            administration_punish_decision_data.name=res.data.data.name,
            administration_punish_decision_data.statutory_responsible_person=res.data.data.statutory_responsible_person,
            administration_punish_decision_data.address=res.data.data.address,
            administration_punish_decision_data.tir_age=res.data.data.tir_age,
            administration_punish_decision_data.tel=res.data.data.tel,
            administration_punish_decision_data.tir_person=res.data.data.tir_person,
            administration_punish_decision_data.tir_gender=res.data.data.tir_gender,
            administration_punish_decision_data.tir_nation=res.data.data.tir_nation,
            administration_punish_decision_data.tir_id_number=res.data.data.tir_id_number,
            administration_punish_decision_data.retail_licence_code=res.data.data.retail_licence_code,
            administration_punish_decision_data.tir_home=res.data.data.tir_home,
            administration_punish_decision_data.telephone_number=res.data.data.telephone_number,
            administration_punish_decision_data.conspirator=res.data.data.conspirator,
            administration_punish_decision_data.mer_address=res.data.data.mer_address,
            administration_punish_decision_data.mer_name=res.data.data.mer_name,
            administration_punish_decision_data.list2=res.data.data.list2,
            administration_punish_decision_data.tce_type_number_chinese=res.data.data.tce_type_number_chinese,
            administration_punish_decision_data.tce_number_chinese=res.data.data.tce_number_chinese,
            administration_punish_decision_data.list3=res.data.data.list3,
            administration_punish_decision_data.cigarette_origin=res.data.data.cigarette_origin,
            administration_punish_decision_data.list1=res.data.data.list1,
            administration_punish_decision_data.list4=res.data.data.list4,
            administration_punish_decision_data.list5=res.data.data.list5,
            administration_punish_decision_data.list6=res.data.data.list6,
            administration_punish_decision_data.list7=res.data.data.list7,
            administration_punish_decision_data.violate_law=res.data.data.violate_law,
            administration_punish_decision_data.num1=res.data.data.num1,
            administration_punish_decision_data.punish_basis=res.data.data.punish_basis,
            administration_punish_decision_data.crime_number=res.data.data.crime_number,
            administration_punish_decision_data.tce_amount_chinese=res.data.data.tce_amount_chinese,
            administration_punish_decision_data.tce_amount=res.data.data.tce_amount,
            administration_punish_decision_data.discretionary_standard_name=res.data.data.discretionary_standard_name,
            administration_punish_decision_data.discretionary_standard_grade=res.data.data.discretionary_standard_grade,
            administration_punish_decision_data.discretionary_standard_punish=res.data.data.discretionary_standard_punish,
            administration_punish_decision_data.penalty_decision=res.data.data.penalty_decision,
            administration_punish_decision_data.penalty_money=res.data.data.penalty_money,
            administration_punish_decision_data.penalty_money_all=res.data.data.penalty_money_all,
            administration_punish_decision_data.penalty_money_all_chinese=res.data.data.penalty_money_all_chinese,
            administration_punish_decision_data.tce_type_number_t_chinese=res.data.data.tce_type_number_t_chinese,
            administration_punish_decision_data.tce_type_number_f_chinese=res.data.data.tce_type_number_f_chinese,
            administration_punish_decision_data.undertaker1_name=res.data.data.undertaker1_name,
            administration_punish_decision_data.undertaker2_name=res.data.data.undertaker2_name,
            administration_punish_decision_data.staff_license_no_1=res.data.data.staff_license_no_1,
            administration_punish_decision_data.staff_license_no_2=res.data.data.staff_license_no_2,
            administration_punish_decision_data.year1=res.data.data.year1,
            administration_punish_decision_data.month1=res.data.data.month1,
            administration_punish_decision_data.day1=res.data.data.day1,
            administration_punish_decision_data.year2=res.data.data.year2,
            administration_punish_decision_data.month2=res.data.data.month2,
            administration_punish_decision_data.day2=res.data.data.day2,
            administration_punish_decision_data.year3=res.data.data.year3,
            administration_punish_decision_data.month3=res.data.data.month3,
            administration_punish_decision_data.day3=res.data.data.day3,
            administration_punish_decision_data.hour3=res.data.data.hour3,
            administration_punish_decision_data.min3=res.data.data.min3,
            administration_punish_decision_data.year4=res.data.data.year4,
            administration_punish_decision_data.month4=res.data.data.month4,
            administration_punish_decision_data.day4=res.data.data.day4,
            administration_punish_decision_data.tce_number_f_chinese=res.data.data.tce_number_f_chinese,
            administration_punish_decision_data.tce_number_t_chinese=res.data.data.tce_number_t_chinese,
            administration_punish_decision_data.finally_penalty=res.data.data.finally_penalty,
            administration_punish_decision_data.mer_hometown=res.data.data.mer_hometown,
            administration_punish_decision_data.arrive_type=res.data.data.arrive_type,
            //所有烟草
            res.data.data.list2.forEach(function (item) {
              administration_punish_decision_data.ciga_data_all = administration_punish_decision_data.ciga_data_all + '“' + item.ciga_model + ' ' + item.ciga_variety +
                      '“'+item.evi_number+'条，'
            });
    //所有证据先行保存通知书
    res.data.data.list3.forEach(function (item) {
      administration_punish_decision_data.evi_data_all = administration_punish_decision_data.evi_data_all + '侯烟存通字【'+ administration_punish_decision_data.year +'】第'+
              item.evi_id_number + '号、'
    });
    //所有证据先行保存通知书
    res.data.data.list3.forEach(function (item) {
      administration_punish_decision_data.evi_data_all_1 = administration_punish_decision_data.evi_data_all_1 + '侯烟存准【'+ administration_punish_decision_data.year +'】第'+
              item.evi_id_number + '号、'
    });

    // 真烟
    res.data.data.list6.forEach(function (item) {
      administration_punish_decision_data.ciga_data_t = administration_punish_decision_data.ciga_data_t + '“' + item.ciga_model + ' ' + item.ciga_variety +
              '“'+item.evi_number+'条，'
    });

    //真烟数据＋先行保存通知书
    if (administration_punish_decision_data.ciga_data_t){
      administration_punish_decision_data.evi_ciga_t = "鉴定卷烟"+ administration_punish_decision_data.ciga_data_t +  "总计"+ administration_punish_decision_data.tce_type_number_t_chinese +
              "品种" + administration_punish_decision_data.tce_number_t_chinese + administration_punish_decision_data.evi_data_t +"为真品卷烟";
    }
    res.data.data.list4.forEach(function (item) {
      administration_punish_decision_data.ciga_data_f = administration_punish_decision_data.ciga_data_f + '“' + item.ciga_model + ' ' + item.ciga_variety +
              '“'+item.evi_number+'条，'
    });
    //假烟数据＋先行保存通知书
    if (administration_punish_decision_data.ciga_data_f){
      administration_punish_decision_data.evi_ciga_f = "鉴定卷烟"+ administration_punish_decision_data.ciga_data_f +  "总计"+ administration_punish_decision_data.tce_type_number_f_chinese+
              "品种" +administration_punish_decision_data.tce_number_f_chinese  + administration_punish_decision_data.evi_data_f +"为假冒注册商标且伪劣卷烟";
    }

  })
}
const create_penalty_decision_word=()=>{
  punish_decision_browse_data(create_case.case_id).then(res=>{
    export_word_17(
            res.data.data.illegal_behavior,
            res.data.data.year,
            res.data.data.month,
            res.data.data.day,
            res.data.data.case_number,
            res.data.data.tir_person,
            res.data.data.tir_gender,
            res.data.data.tir_nation,
            res.data.data.tir_age,
            res.data.data.mer_hometown,
            res.data.data.tir_id_number,
            res.data.data.retail_licence_code,
            res.data.data.mer_address,
            res.data.data.mer_name,
            res.data.data.tce_type_number_chinese,
            res.data.data.tce_number_chinese,
            res.data.data.year1,
            res.data.data.month1,
            res.data.data.day1,
            res.data.data.cigarette_origin,
            res.data.data.violate_law,
            res.data.data.num1,
            res.data.data.punish_basis,
            res.data.data.crime_number,
            res.data.data.tce_amount_chinese,
            res.data.data.tce_amount,
            res.data.data.penalty_decision,
            res.data.data.penalty_money,
            res.data.data.penalty_money_all,
            res.data.data.penalty_money_all_chinese,
            res.data.data.year2,
            res.data.data.month2,
            res.data.data.day2,
            res.data.data.tce_number_f_chinese,
            res.data.data.tce_number_t_chinese,
            res.data.data.list1,
            res.data.data.list2,
            res.data.data.list3,
            res.data.data.list4,
            res.data.data.list5,
            res.data.data.list6,
            res.data.data.list7,
            res.data.data.tce_type_number_t_chinese,
            res.data.data.tce_type_number_f_chinese,
            res.data.data.year3,
            res.data.data.month3,
            res.data.data.day3,
            res.data.data.hour3,
            res.data.data.min3,
            res.data.data.year4,
            res.data.data.month4,
            res.data.data.day4,
            res.data.data.finally_penalty,
            res.data.data.arrive_type,
    )
  })
}

//涉案物品返还清单暂存数据
const return_article_data_storage=reactive({
  return_time:'',
  returnee1:'',
  returnee2:'',
  identificate_loss:'',
  evi_id:'',
  return_article:'',
  ciga_number:'',
  identificate_loss_chinese:'',
  staff_license_1:'',
  staff_license_2:'',
  tir_person:'',
})
//行政罚款收据相关信息
const administrative_fine_data_storage=reactive({
  tir_person:'',
  illegal_behavior:'',
  year1:'',
  month1:'',
  day1:'',
  year2:'',
  month2:'',
  day2:'',
  administrative_fine_chinese:'',
  administrative_fine:'',
})

const administrative_fine_browse=()=>{
  if (create_case.tcs_note_id=="行政罚款收据已完成"||create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){
    View_administrative_fine_Visible.value = true;
  }else{
    alert("行政罚款收据未完成");
  }

}

const return_item_browse=()=>{
  get_return_item_Data(create_case.case_id);
  Return_item_Browse_Visible.value=true;
  get_return_item_print_data();
}
interface Evidence_ciga_data1 {
  evi_id:number,
  evi_number:number,
  ciga_variety:string,
  ciga_type:string,
  barcode:string,
  ciga_model:string,
  inkjet:string,
  item_id:number,

}
const evidence_ciga_Data1= ref<Evidence_ciga_data[]>([]);
const get_return_item_Data=(case_id:number)=>{
  return_item_Views(create_case.case_id).then(res=>{
    evidence_ciga_Data1.value=res.data.data;
  })
}
const administrative_fine=()=>{

  get_administrative_fine_img_data(create_case.case_number);
  get_administrative_fine_browse_data(create_case.case_id);
  View_administrative_fine_receipt_Visible.value = true;
}
const get_administrative_fine_browse_data=(case_id:number)=>{
  administrative_fine_browse_data(create_case.case_id).then(res=>{
    administrative_fine_data_storage.tir_person=res.data.data.tir_person,
            administrative_fine_data_storage.illegal_behavior=res.data.data.illegal_behavior
    administrative_fine_data_storage.year1=res.data.data.year1
    administrative_fine_data_storage.month1=res.data.data.month1
    administrative_fine_data_storage.day1=res.data.data.day1
    administrative_fine_data_storage.administrative_fine_chinese=res.data.data.administrative_fine_chinese
    administrative_fine_data_storage.administrative_fine=res.data.data.administrative_fine
    administrative_fine_data_storage.year2=res.data.data.year2
    administrative_fine_data_storage.month2=res.data.data.month2
    administrative_fine_data_storage.day2=res.data.data.day2
  })
}
const get_return_item_print_data=()=>{
  return_item_print_data(create_case.case_id).then(res=>{
    return_article_data_storage.ciga_number=res.data.data.ciga_number,
            return_article_data_storage.identificate_loss=res.data.data.identificate_loss,
            return_article_data_storage.identificate_loss_chinese=res.data.data.identificate_loss_chinese,
            return_article_data_storage.returnee1=res.data.data.returnee1,
            return_article_data_storage.returnee2=res.data.data.returnee2,
            return_article_data_storage.staff_license_1=res.data.data.staff_license_1,
            return_article_data_storage.staff_license_2=res.data.data.staff_license_2,
            return_article_data_storage.tir_person=res.data.data.tir_person
  })
}
const return_item_word=()=>{
  return_item_print_data(create_case.case_id).then(res=>{
    export_word_19(
            res.data.data.case_number,
            res.data.data.list,
            res.data.data.ciga_number,
            res.data.data.identificate_loss,
            res.data.data.identificate_loss_chinese,
            res.data.data.returnee1,
            res.data.data.returnee2,
            res.data.data.staff_license_1,
            res.data.data.staff_license_2
    )
  })
}



//结案报告表暂存数据
const case_final_report_data_storage=reactive({
  case_cause:'',
  case_number:'',
  year:'',
  month:'',
  day:'',
  case_time:'',
  name:'',
  statutory_responsible_person:'',//法定负责人
  address:'',
  tel:'',
  tir_person:'',
  tir_gender:'',
  tir_nation:'',
  tir_id_number:'',
  retail_licence_code:'',
  telephone_number:'',
  crime_number:'',
  mer_address:'',
  mer_name:'',
  tce_type_number_chinese:'',
  tce_number_chinese:'',
  tce_type_number:0,
  tce_number:0,
  evi_data_all:'',//先行保存通知书号
  evi_data_all_1:'',//先行保存批准书号
  conspirator:'',//同案人
  ciga_data_all:'',//卷烟品种
  ciga_data_f:'',//假烟
  ciga_data_t:'',//真烟
  evi_ciga_f:'',
  evi_ciga_t:'',
  tce_amount:0,
  tce_amount_chinese:'',//价格中文写法
  num1:0,
  num2:0,
  year1:'',
  month1:'',
  day1:'',
  year2:'',
  month2:'',
  day2:'',
  // year3:'',
  // month3:'',
  // day3:'',
  tir_home:'',
  undertaker1:'',
  undertaker2:'',
  undertaker1_name:'',
  undertaker2_name:'',
  staff_license_no_1:'',
  staff_license_no_2:'',
  write_time:'',
  cigarette_origin:'',
  violate_law:'',
  punish_basis:'',//处罚依据
  discretionary_standard_name:'',//裁量标准
  discretionary_standard_grade:'',
  discretionary_standard_punish:'',
  discretionary_standard:'',
  penalty_money:'',//罚款
  penalty_decision:'',
  list1:[],
  list2:[],
  list3:[],
  list4:[],
  list5:[],
  list6:[],
  list7:[],
  penalty_money_all:0,
  penalty_money_all_chinese:'',
  tce_type_number_t_chinese: "",
  tce_number_t_chinese: "",
  tce_type_number_f_chinese: "",
  tce_number_f_chinese: "",
  illegal_behavior:'',
  evi_data_t : '',
  evi_data_f : '',
  end_case_time:'',
  investigators:'',
  final_address:'',
  //case_id:0,
  mer_hometown:'',
  date_of_filing:'',
  tir_age:'',
  bureau_penalty:'',
  user_id_1:0,//询问人员1编号
  user_name_1:'',//询问人员1
  user_id_2:0,//询问人员2编号
  user_name_2:'',//询问人员2
  staff_license_no1:'',
  staff_license_no2:'',
  year3:'',
  month3:'',
  day3:'',
  hour3:'',
  min3:'',
  year4:'',
  month4:'',
  day4:'',
  finally_penalty:'',
  other_content:'',
  arrive_type:'',
  year5:'',
  month5:'',
  day5:'',
  year6:'',
  month6:'',
  day6:'',
  return_ciga:'',
})

const final_report_tabel_browse=()=>{
  case_final_report_data_storage.ciga_data_all=''
  case_final_report_data_storage.evi_data_all =''
  case_final_report_data_storage.evi_data_all_1=''
  case_final_report_data_storage.ciga_data_t =''
  case_final_report_data_storage.evi_ciga_t =''
  case_final_report_data_storage.ciga_data_f =''
  case_final_report_data_storage.evi_ciga_f=''
  if (create_case.tcs_note_id=="结案报告表已完成"||create_case.tcs_note_id=="已完成"
  ){
    get_case_final_report_storage();
    get_case_final_report_browse_storage();
    get_implement_situation();
    View_case_final_report_Visible.value=true;
  }else{
    alert("结案报告表未完成");
  }

}
const get_case_final_report_storage=()=>{
  case_final_report_storage(create_case.case_id).then(res=>{
    case_final_report_data_storage.case_time=res.data.data.case_time,
            case_final_report_data_storage.tir_person=res.data.data.tir_person,
            case_final_report_data_storage.investigators=res.data.data.investigators,
            case_final_report_data_storage.final_address=res.data.data.final_address,
            case_final_report_data_storage.case_cause=res.data.data.case_cause
  })
}

//获取结案报告表预览和打印数据
const get_case_final_report_browse_storage=()=>{
  final_report_browse_data(create_case.case_id).then(res=>{
    //case_handing_data_storage.case_cause=res.data.data.case_cause,
    case_final_report_data_storage.illegal_behavior=res.data.data.illegal_behavior
    case_final_report_data_storage.year=res.data.data.year,
            case_final_report_data_storage.month=res.data.data.month,
            case_final_report_data_storage.day=res.data.data.day,
            case_final_report_data_storage.case_number=res.data.data.case_number,
            case_final_report_data_storage.name=res.data.data.name,
            case_final_report_data_storage.statutory_responsible_person=res.data.data.statutory_responsible_person,
            case_final_report_data_storage.address=res.data.data.address,
            case_final_report_data_storage.tir_age=res.data.data.tir_age,
            case_final_report_data_storage.tel=res.data.data.tel,
            case_final_report_data_storage.tir_person=res.data.data.tir_person,
            case_final_report_data_storage.tir_gender=res.data.data.tir_gender,
            case_final_report_data_storage.tir_nation=res.data.data.tir_nation,
            case_final_report_data_storage.tir_id_number=res.data.data.tir_id_number,
            case_final_report_data_storage.retail_licence_code=res.data.data.retail_licence_code,
            case_final_report_data_storage.tir_home=res.data.data.tir_home,
            case_final_report_data_storage.telephone_number=res.data.data.telephone_number,
            case_final_report_data_storage.conspirator=res.data.data.conspirator,
            case_final_report_data_storage.mer_address=res.data.data.mer_address,
            case_final_report_data_storage.mer_name=res.data.data.mer_name,
            case_final_report_data_storage.list2=res.data.data.list2,
            case_final_report_data_storage.tce_type_number_chinese=res.data.data.tce_type_number_chinese,
            case_final_report_data_storage.tce_number_chinese=res.data.data.tce_number_chinese,
            case_final_report_data_storage.list3=res.data.data.list3,
            case_final_report_data_storage.cigarette_origin=res.data.data.cigarette_origin,
            case_final_report_data_storage.list1=res.data.data.list1,
            case_final_report_data_storage.list4=res.data.data.list4,
            case_final_report_data_storage.list5=res.data.data.list5,
            case_final_report_data_storage.list6=res.data.data.list6,
            case_final_report_data_storage.list7=res.data.data.list7,
            case_final_report_data_storage.violate_law=res.data.data.violate_law,
            case_final_report_data_storage.num1=res.data.data.num1,
            case_final_report_data_storage.punish_basis=res.data.data.punish_basis,
            case_final_report_data_storage.crime_number=res.data.data.crime_number,
            case_final_report_data_storage.tce_amount_chinese=res.data.data.tce_amount_chinese,
            case_final_report_data_storage.tce_amount=res.data.data.tce_amount,
            case_final_report_data_storage.discretionary_standard_name=res.data.data.discretionary_standard_name,
            case_final_report_data_storage.discretionary_standard_grade=res.data.data.discretionary_standard_grade,
            case_final_report_data_storage.discretionary_standard_punish=res.data.data.discretionary_standard_punish,
            case_final_report_data_storage.penalty_decision=res.data.data.penalty_decision,
            case_final_report_data_storage.penalty_money=res.data.data.penalty_money,
            case_final_report_data_storage.penalty_money_all=res.data.data.penalty_money_all,
            case_final_report_data_storage.penalty_money_all_chinese=res.data.data.penalty_money_all_chinese,
            case_final_report_data_storage.tce_type_number_t_chinese=res.data.data.tce_type_number_t_chinese,
            case_final_report_data_storage.tce_type_number_f_chinese=res.data.data.tce_type_number_f_chinese,
            case_final_report_data_storage.undertaker1_name=res.data.data.undertaker1_name,
            case_final_report_data_storage.undertaker2_name=res.data.data.undertaker2_name,
            case_final_report_data_storage.staff_license_no_1=res.data.data.staff_license_no_1,
            case_final_report_data_storage.staff_license_no_2=res.data.data.staff_license_no_2,
            case_final_report_data_storage.year1=res.data.data.year1,
            case_final_report_data_storage.month1=res.data.data.month1,
            case_final_report_data_storage.day1=res.data.data.day1,
            case_final_report_data_storage.year2=res.data.data.year2,
            case_final_report_data_storage.month2=res.data.data.month2,
            case_final_report_data_storage.day2=res.data.data.day2,
            case_final_report_data_storage.year3=res.data.data.year3,
            case_final_report_data_storage.month3=res.data.data.month3,
            case_final_report_data_storage.day3=res.data.data.day3,
            case_final_report_data_storage.hour3=res.data.data.hour3,
            case_final_report_data_storage.min3=res.data.data.min3,
            case_final_report_data_storage.year4=res.data.data.year4,
            case_final_report_data_storage.month4=res.data.data.month4,
            case_final_report_data_storage.day4=res.data.data.day4,
            case_final_report_data_storage.year5=res.data.data.year5,
            case_final_report_data_storage.month5=res.data.data.month5,
            case_final_report_data_storage.day5=res.data.data.day5,
            case_final_report_data_storage.tce_number_f_chinese=res.data.data.tce_number_f_chinese,
            case_final_report_data_storage.tce_number_t_chinese=res.data.data.tce_number_t_chinese,
            case_final_report_data_storage.finally_penalty=res.data.data.finally_penalty,
            case_final_report_data_storage.mer_hometown=res.data.data.mer_hometown,
            case_final_report_data_storage.arrive_type=res.data.data.arrive_type,
            //所有烟草
            res.data.data.list2.forEach(function (item) {
              case_final_report_data_storage.ciga_data_all = case_final_report_data_storage.ciga_data_all + '“' + item.ciga_model + ' ' + item.ciga_variety +
                      '“'+item.evi_number+'条，'
            });
    //所有证据先行保存通知书
    res.data.data.list3.forEach(function (item) {
      case_final_report_data_storage.evi_data_all = case_final_report_data_storage.evi_data_all + '侯烟存通字【'+ case_final_report_data_storage.year +'】第'+
              item.evi_id_number + '号、'
    });
    //所有证据先行保存通知书
    res.data.data.list3.forEach(function (item) {
      case_final_report_data_storage.evi_data_all_1 = case_final_report_data_storage.evi_data_all_1 + '侯烟存准【'+ case_final_report_data_storage.year +'】第'+
              item.evi_id_number + '号、'
    });

    // 真烟
    res.data.data.list6.forEach(function (item) {
      case_final_report_data_storage.ciga_data_t = case_final_report_data_storage.ciga_data_t + '“' + item.ciga_model + ' ' + item.ciga_variety +
              '“'+item.evi_number+'条，'
    });

    //真烟数据＋先行保存通知书
    if (case_final_report_data_storage.ciga_data_t){
      case_final_report_data_storage.evi_ciga_t = "鉴定卷烟"+ case_final_report_data_storage.ciga_data_t +  "总计"+ case_final_report_data_storage.tce_type_number_t_chinese +
              "品种" + case_final_report_data_storage.tce_number_t_chinese + case_final_report_data_storage.evi_data_t +"为真品卷烟";
    }
    res.data.data.list4.forEach(function (item) {
      case_final_report_data_storage.ciga_data_f = case_final_report_data_storage.ciga_data_f + '“' + item.ciga_model + ' ' + item.ciga_variety +
              '“'+item.evi_number+'条，'
    });
    //假烟数据＋先行保存通知书
    if (case_final_report_data_storage.ciga_data_f){
      case_final_report_data_storage.evi_ciga_f = "鉴定卷烟"+ case_final_report_data_storage.ciga_data_f +  "总计"+ case_final_report_data_storage.tce_type_number_f_chinese+
              "品种" +case_final_report_data_storage.tce_number_f_chinese  + case_final_report_data_storage.evi_data_f +"为假冒注册商标且伪劣卷烟";
    }

  })
}

//获取案件执行情况
const get_implement_situation=()=>{
  implement_situation(create_case.case_id).then(res=>{
    case_final_report_data_storage.year4=res.data.data.year4,
            case_final_report_data_storage.month4=res.data.data.month4,
            case_final_report_data_storage.day4=res.data.data.day4,
            case_final_report_data_storage.year5=res.data.data.year5,
            case_final_report_data_storage.month5=res.data.data.month5,
            case_final_report_data_storage.day5=res.data.data.day5,
            case_final_report_data_storage.year6=res.data.data.year6,
            case_final_report_data_storage.month6=res.data.data.month6,
            case_final_report_data_storage.day6=res.data.data.day6,
            case_final_report_data_storage.return_ciga=res.data.data.return_ciga
  })
}

const create_final_report_word=()=>{
  final_report_browse_data(create_case.case_id).then(res=>{
    export_word_20(
            case_final_report_data_storage.case_cause,
            case_final_report_data_storage.case_time,
            case_final_report_data_storage.investigators,
            case_final_report_data_storage.final_address,
            case_final_report_data_storage.illegal_behavior,
            case_final_report_data_storage.year,
            case_final_report_data_storage.month,
            res.data.data.day,
            res.data.data.case_number,
            res.data.data.tir_person,
            res.data.data.tir_gender,
            res.data.data.tir_nation,
            res.data.data.tir_age,
            res.data.data.mer_hometown,
            res.data.data.tir_id_number,
            res.data.data.retail_licence_code,
            res.data.data.mer_address,
            res.data.data.mer_name,
            res.data.data.tce_type_number_chinese,
            res.data.data.tce_number_chinese,
            res.data.data.year1,
            res.data.data.month1,
            res.data.data.day1,
            res.data.data.cigarette_origin,
            res.data.data.violate_law,
            res.data.data.num1,
            res.data.data.punish_basis,
            res.data.data.crime_number,
            res.data.data.tce_amount_chinese,
            res.data.data.tce_amount,
            res.data.data.penalty_decision,
            res.data.data.penalty_money,
            res.data.data.penalty_money_all,
            res.data.data.penalty_money_all_chinese,
            res.data.data.year2,
            res.data.data.month2,
            res.data.data.day2,
            res.data.data.tce_number_f_chinese,
            res.data.data.tce_number_t_chinese,
            res.data.data.list1,
            res.data.data.list2,
            res.data.data.list3,
            res.data.data.list4,
            res.data.data.list5,
            res.data.data.list6,
            res.data.data.list7,
            res.data.data.tce_type_number_t_chinese,
            res.data.data.tce_type_number_f_chinese,
            res.data.data.year3,
            case_final_report_data_storage.month3,
            case_final_report_data_storage.day3,
            case_final_report_data_storage.hour3,
            case_final_report_data_storage.min3,
            case_final_report_data_storage.year4,
            case_final_report_data_storage.month4,
            case_final_report_data_storage.day4,
            case_final_report_data_storage.finally_penalty,
            case_final_report_data_storage.arrive_type,
            case_final_report_data_storage.year5,
            case_final_report_data_storage.month5,
            case_final_report_data_storage.day5,
            case_final_report_data_storage.return_ciga

    )
  })
}
//证据图片
interface Case_img_data {
  img:string,
  type:string,
  fill_time:string,
  time_now:string,
}
const case_img_Data = ref<Case_img_data[]>([]);

const view_archive_file_all=()=>{
  if (create_case.tcs_note_id=="已完成"){
    View_archive_file_Visible.value = true;
  }else{
    alert("案件未完成");
  }
}



const person_identity_card_browse=()=>{
  get_identity_card_img_data(create_case.case_number);
  //get_administrative_fine_browse_data(create_case.case_id);
  View_identity_card_Visible.value = true;
}

const enforce_official_browse=()=>{
  get_enforce_official_img_data(create_case.case_number);
  //get_administrative_fine_browse_data(create_case.case_id);
  View_enforce_official_Visible.value = true;
}

const qualification_certificate_browse=()=>{
  get_qualification_certificate_img_data(create_case.case_number);
  //get_administrative_fine_browse_data(create_case.case_id);
  View_qualification_certificate_Visible.value = true;
}
//获取当事人身份证数据
const get_identity_card_img_data = (case_number:string='')=>{
  fetchData_s_mongodb_evidence_Views(case_number,"当事人身份证").then(res=>{
    case_img_Data.value = res.data.data
  })
}

//获取案件相关执法人员执法证复印件
const get_enforce_official_img_data= (case_number:string='')=>{
  fetchData_s_mongodb_evidence_Views(case_number,"案件相关执法人员执法证复印件").then(res=>{
    case_img_Data.value = res.data.data
  })
}
//获取卷烟鉴别小组成员资质证书复印件
const get_qualification_certificate_img_data= (case_number:string='')=>{
  fetchData_s_mongodb_evidence_Views(case_number,"卷烟鉴别小组成员资质证书复印件").then(res=>{
    case_img_Data.value = res.data.data
  })
}

//获取签字数据
const img_sign_data = reactive({
  case_number: '',
  name:'',
  content:'',
  remark:'',
  img:'',
});


const getData = (archive_person:string='',case_id:number,case_source:string='',case_type:string='',case_number:string='',tcs_note_id:string='',name:string='') => {

  fetchData_user('','',name).then(res1=>{

    fetchData_case(archive_person,case_id,case_source,case_type,case_number,tcs_note_id,name).then(res => {
      // console.log('res', res.data)
      tableData.value = res.data.data.filter((i: { tcs_note_id: string; }) =>(
              i.tcs_note_id=="已完成"
      )  )
    });

  })
};
getData('','','','','','',localStorage.getItem('ms_username'));

</script>

<style scoped>

.handle-box {
  margin-bottom: 20px;
}

.handle-select {
  width: 120px;
}

.handle-input {
  width: 300px;
}
.table {
  width: 100%;
  font-size: 14px;
}
.red {
  color: #ff0000;
}
:deep(.el-upload--picture-card) {
  width: 100px;
  height: 100px;
}
:deep(.el-upload) {
  width: 535px;
  height: 30px;
  line-height: 100px;
}
:deep(.el-upload-list--picture-card) .el-upload-list__item{
  width: 100px;
  height: 100px;
  line-height: 100px;
}

:deep(.avatar){
  width: 100px;
  height: 100px;
}
.blue {
  color: rgba(0, 118, 252, 0.79);
}
.mr10 {
  margin-right: 10px;
}
.table-td-thumb {
  display: block;
  margin: auto;
  width: 480px;
  height: 500px;
}

.table-td{
  display: block;
  margin: auto;
  width: 500px;
  height: 500px;
}

.el-row {
  margin-bottom: 20px;
}

.grid-content {
  display: flex;
  align-items: center;
  height: 100px;
}

.grid-cont-right {
  flex: 1;
  text-align: center;
  font-size: 14px;
  color: #999;
}

.grid-num {
  font-size: 30px;
  font-weight: bold;
}

.grid-con-icon {
  font-size: 50px;
  width: 100px;
  height: 100px;
  text-align: center;
  line-height: 100px;
  color: #fff;
}

.grid-con-1 .grid-con-icon {
  background: rgb(45, 140, 240);
}

.grid-con-1 .grid-num {
  color: rgb(45, 140, 240);
}

.grid-con-2 .grid-con-icon {
  background: rgb(100, 213, 114);
}

.grid-con-2 .grid-num {
  color: rgb(100, 213, 114);
}

.grid-con-3 .grid-con-icon {
  background: rgb(242, 94, 67);
}

.grid-con-3 .grid-num {
  color: rgb(242, 94, 67);
}

.user-info {
  display: flex;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 2px solid #ccc;
  margin-bottom: 20px;
}

.user-info-cont {
  padding-left: 50px;
  flex: 1;
  font-size: 14px;
  color: #999;
}

.user-info-cont div:first-child {
  font-size: 30px;
  color: #222;
}

.user-info-list {
  font-size: 14px;
  color: #999;
  line-height: 25px;
}

.user-info-list span {
  margin-left: 70px;
}

.mgb20 {
  margin-bottom: 20px;
}

.todo-item {
  font-size: 14px;
}
.dialog-footer button{
  background-color: #00a854;
  color:white;
}
.todo-item-del {
  text-decoration: line-through;
  color: #999;
}

.schart {
  width: 100%;
  height: 300px;
}

.img{
  width: 100%;
  height: 300px;
}
</style>
